Reputation: 1455
DEBUGMSGTL(("","Initializing scalar integer. Default value = %d\n"));
snmp_log(LOG_ERR,"fscanf failed in temp fun(),errno:\n");
with these log I want all logs from startinn of snmp service to end of it. But don't know where to see.
where these logs are going to be saved ? I am using NET-SNMP version: 5.7.2.rc1
while installation I have not given any location in
Location to write logfile & Location to write persistent information.
Upvotes: 0
Views: 9607
Reputation: 7422
In order to do debugging the following function need to be set
snmp_set_do_debugging(1);
Upvotes: 0
Reputation: 34677
This is a compile-time option --with-logfile. Your package maintainer should document the default for itself.
Upvotes: 0