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

Suppress log errors/events

Discussion in 'Tomato Firmware' started by kzrssk, May 12, 2014.

  1. kzrssk

    kzrssk LI Guru Member

    Is there any way to suppress specific log events? I have the console log level set to 1 (which is least verbose?), but I still get 50 million errors from the whatever processes cifs mounts when the nas isn't available (it gets turned off when no one is there to save electricity).
  2. koitsu

    koitsu Network Guru Member

    The type of granularity you're looking for isn't available. And who turns off a NAS? Weird. :p
  3. kzrssk

    kzrssk LI Guru Member

    It's just a external hard drive with a network port and some crappy management software hooked up to the same power strip all the other equipment is hooked up to, so we just shut it off, but since I have the router mounting a cifs share, it whines at me every few minutes in the log, which pushes everything else out of the log
  4. koitsu

    koitsu Network Guru Member

    I could go look at the cifs.ko client code to see if there's some way to inhibit messages, but I'd need exact lines from your kernel log.

    There are some supposed "experimental features" in cifs.ko, according to the README, which do support some bit-level adjusting of the log messages, but depending on what the log message(s) you're seeing I can't tell you if that would be useful. The experimental features, by the way, are disabled by default (no way to enable them aside from recompiling).

Share This Page