madmaze / pyNmonAnalyzer

Python tool for reformatting and plotting/graphing NMON output
118 stars 42 forks source link

Logging Question #7

Closed AlexDeGruven closed 11 years ago

AlexDeGruven commented 11 years ago

What are the log levels?

Is there a silent option? I plan on running this via cron and I'd rather not fill up /var/log/cron with the TOP warnings.

madmaze commented 11 years ago

you should be able to hand it -l ERROR and it should only log errors

madmaze commented 11 years ago

hmm well crap, looks like I wasn't fully consistent with using logging everywhere. I'll fix that asap

AlexDeGruven commented 11 years ago

Sweet. Appreciate that. I fed it to 2>/dev/null anyway, but I'll update to capture any ERROR level messages into my own log.

Thanks!

daixtr commented 11 years ago

can't you redirect to /dev/null

On Fri, Oct 11, 2013 at 8:49 PM, AlexDeGruven notifications@github.comwrote:

What are the log levels?

Is there a silent option? I plan on running this via cron and I'd rather not fill up /var/log/cron with the TOP warnings.

— Reply to this email directly or view it on GitHubhttps://github.com/madmaze/pyNmonAnalyzer/issues/7 .