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

Tomato syslog, save to attached USB drive

Discussion in 'Tomato Firmware' started by ImGeo, Dec 16, 2009.

  1. ImGeo

    ImGeo Addicted to LI Member

    How can I set Tomato ND (teddy_bear mod) to save log files to a USB-attached flash drive? I have my bandwidth info saved there, but want syslog to be saved there too. I don't want to have to setup a syslog server and send it overport 514.

    I've seen possibilities such as copying logging every message nostop, but most preferably I'd like a continuous log (or maybe a log split up every 1000 lines or KB).

    I've searched the forums and google, trying to find a syslogd.confg (or syslog.conf), and even with a "find / -name syslog.conf", nothing turned up. I did find "syslogd" and "messages", but don't know where/how to edit the config of how it saves.
  2. jan.n

    jan.n Addicted to LI Member

    You could write a script that first tests if the flash drive is mounted and if so, copies the logfile periodically to it...

Share This Page