Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

Log file deleting itself - Is this normal?

Discussion in 'Asuswrt-Merlin' started by Sean25689, Feb 26, 2013.

  1. Sean25689

    Sean25689 New Around Here

    Feb 26, 2013
    I’m using Merlin for the RT-N66U and am wondering if the log files in the System Log > General Log section automatically deletes itself every so often? If so, is there a setting to control this? This has happened to me at least once that I know of. Thank you!
  2. joegreat

    joegreat Very Senior Member

    Jan 9, 2013
    Vienna, Austria
    Hi Sean,

    Yes, it's normal that the Syslog is renewed (deleted) automatically.
    How often, or better when(!) it's renewed is defined by the start parameters. Which you can see by looking for the syslogd process:
    [email protected]:/tmp/home/root# ps -w | grep syslog
      352 admin     1336 S    syslogd -m 0 -S -O /tmp/syslog.log -s 512 -l 7 
    The -s 512 parameter defines the 'Max size (KB) before rotation'. In this case after reaching 512 KB of size the syslog.log will start fresh. :rolleyes:

    Do you have so many messages in the syslog that this happens often in your case? :eek:

    With kind regards
    Joe :cool:
  3. Sean25689

    Sean25689 New Around Here

    Feb 26, 2013
    Hi Joe,
    Thank you for your response. So glad to hear that the log the log file was just cleaning up after itself and it wasn’t someone hacking into my router and then trying to cover their tracks. I do have a lot of messages in the syslog file because I’ve set Firewall > General > Logged Packet Types to “Both”.
    Thanks again, Sean

Share This Page