Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, I am using logrotate for compressing log files. The logrotate, after it runs, empty the original file and move the content to gz file (after compress it) ,and I ...
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    2

    Smile Logrotate

    Hello,

    I am using logrotate for compressing log files.
    The logrotate, after it runs, empty the original file and move the content to gz file (after compress it) ,and I see that the size changed to 0 .
    after a few seconds the original log file file go back to previous size .
    Now the file contains, at the begining of file, many of "^@" characters in one very long line, and than the new log lines .

    sombody know what is the problem ?

    Yossi

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi and Welcome !

    Duplicate threads/posts are not allowed. Its against Forum Rules. Please continue here only. Thread Locked.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...