Hey Gabor, 2011/5/20 Kiss Gabor (Bitman) <[email protected]>
> Dear folks, > > strace shows that snmp-ups driver writes to stderr: > > [pid 21825] write(2, "No log handling enabled - turnin"..., 52) = 52 > | 00000 4e 6f 20 6c 6f 67 20 68 61 6e 64 6c 69 6e 67 20 No log h > andling | > | 00010 65 6e 61 62 6c 65 64 20 2d 20 74 75 72 6e 69 6e enabled - > turnin | > | 00020 67 20 6f 6e 20 73 74 64 65 72 72 20 6c 6f 67 67 g on std err > logg | > | 00030 69 6e 67 0a ing. > | > > However I'm unable to find this string in the source. > Where it is coming from? > from the net snmp library itself. there may probably be an init option to bypass that... if you find it, please point us. BTW. Where could I enable logging? :-) (version 2.6.0) > through the upslog daemon or at compile time for the default syslog() level, and/or in /etc/syslog.conf, /etc/rsyslog.conf, ... cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/
_______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
