Hi Mike Thanks to reply. Can u explain little bit more on this, I need to log rotation verbose for windows OS on net-snmp.
Thanks Suresh ________________________________ From: Mike Eggleston <mikeegg1...@gmail.com> Sent: Monday, March 21, 2022 7:19 PM To: Suresh <skjaiswa...@hotmail.com> Cc: net-snmp-us...@lists.sourceforge.net <net-snmp-us...@lists.sourceforge.net>; net-snmp-coders@lists.sourceforge.net <net-snmp-coders@lists.sourceforge.net> Subject: Re: How to enable logging with verbose and log rations in net-snmp daemon in snmpd.conf for Log to a file and put that file under logrotate(8)? Mike On Mar 21, 2022, at 08:00, Suresh <skjaiswa...@hotmail.com<mailto:skjaiswa...@hotmail.com>> wrote: Hi Anyone able enable logging with verbose and log rotations in net-snmp daemon. from snmpd.conf ________________________________ From: Suresh <skjaiswa...@hotmail.com<mailto:skjaiswa...@hotmail.com>> Sent: Tuesday, March 15, 2022 7:48 PM To: net-snmp-us...@lists.sourceforge.net<mailto:net-snmp-us...@lists.sourceforge.net> <net-snmp-us...@lists.sourceforge.net<mailto:net-snmp-us...@lists.sourceforge.net>>; net-snmp-coders@lists.sourceforge.net<mailto:net-snmp-coders@lists.sourceforge.net> <net-snmp-coders@lists.sourceforge.net<mailto:net-snmp-coders@lists.sourceforge.net>> Subject: How to enable logging with verbose and log rations in net-snmp daemon in snmpd.conf for Hello I'm using net-snmp version: 5.9.1 service with extended my enterprise specific mibs for snmpwalk/get/set I want enable logs with rotation policy and verbose level. Example Log file name rataiotn with date_time and verbose leve debug, error level or info level. What parameter i need to set in snmpd.conf or any other way programmatically or using configuration i try to run snmpd.exe with -Lf D:\snmplog\snmpd.log But want to know how i rotate log file if log file size reach say 1 MB. like snmd_15_3_2022_18.30.log size exceed 1 MB. Also which parameter to set in snmpd.conf for verbose level and log file size. Thanks Suresh _______________________________________________ Net-snmp-users mailing list net-snmp-us...@lists.sourceforge.net<mailto:net-snmp-us...@lists.sourceforge.net> Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
_______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders