5 Replies Latest reply: Nov 15, 2012 6:28 AM by Catch-22 RSS

    linux log messages over flowing

    piku
      Hi all,


      In red hat linux there is one file called "messages" and location is "/var/log". This file is continuously writing some log and increasing the size tremendously.So I want to stop this log generate procedure or make some tricks so that this log could generate some time interval basis in this file.Because as this frequent generate of this log that mount point got filledup and become 100%.some example of log of that file is given below.
      Nov 14 14:44:38 biplcos6 cachefilesd[1218]: Scan complete
      Nov 14 14:44:38 biplcos6 cachefilesd[1218]: Scan complete
      Nov 14 14:44:38 biplcos6 cachefilesd[1218]: Scan complete
      Nov 14 14:44:38 biplcos6 cachefilesd[1218]: Scan complete
      Nov 14 14:44:38 biplcos6 cachefilesd[1218]: Scan complete
      Nov 14 14:44:38 biplcos6 cachefilesd[1218]: Scan complete
      Nov 14 14:44:38 biplcos6 cachefilesd[1218]: Scan complete
      Nov 14 14:44:38 biplcos6 cachefilesd[1218]: Scan complete
      Nov 14 14:44:38 biplcos6 cachefilesd[1218]: Scan complete
      Nov 14 14:44:38 biplcos6 cachefilesd[1218]: Scan complete
      Nov 14 14:44:38 biplcos6 cachefilesd[1218]: Scan complete
      Nov 14 14:44:38 biplcos6 cachefilesd[1218]: Scan complete
      Nov 14 14:44:38 biplcos6 cachefilesd[1218]: Scan complete
      [\code]
      
      
      Please help.....thanks in advance..