1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Odd log entry, nearly every hour - what is this?

Discussion in 'Tomato Firmware' started by Gewehr98, Mar 22, 2008.

  1. Gewehr98

    Gewehr98 LI Guru Member

    I've been running Tomato v1.17 on my Linksys WRT54G v1.0 without problems, and prior to that ran Tomato v1.14 successfully.

    Something I've noticed on my logs is that I get an odd "MARK" entry nearly every hour, but there's no real lead on where it's coming from. Here's an example from this morning:

    I'm considering turning off computers and the three Snap Servers on the home network, just to see if I can isolate the odd log entry by a process of elimination.

    In the meantime, have any of you Tomato folks seen something similar?

    Also, short of having the router reboot, is there a way I can clear the logs at leisure?
  2. LLigetfa

    LLigetfa LI Guru Member

    It is just that, a "Mark". It's purpose is to show that news is still happening as opposed to assuming that no news is good news.

    You can adjust the "Mark" interval or disable it entirely.
  3. gatchel

    gatchel LI Guru Member

    I was wondering that also. I was just too lazy to post.

    It's a "heartbeat" so to speak.

    Thanks for the info.
  4. madsul

    madsul LI Guru Member

    You can even change the interval in Administration - logging
  5. Gewehr98

    Gewehr98 LI Guru Member

    Thanks, folks!

    I understand the utility for an hourly "All's Well" log entry, but it's also one less thing to wade through when reading the logs.

    Speaking of which, is there a way to empty the log cache without resetting the router?
  6. LLigetfa

    LLigetfa LI Guru Member

    Who reads the logs directly on the router? Use a central syslog server. A decent syslog server would let you filter out the "MARK" lines. Syslogs shouldn't be purged.
  7. bogderpirat

    bogderpirat Network Guru Member

    echo "">/var/log/messages.0

    at least that's the one the webif displays when clicking "view log". the one without the ".0" is probably the one kept by the kernel for the system.

Share This Page