View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000039||easycwmp||Enhancement||public||2015-02-25 05:53||2015-03-16 10:58|
|Summary||0000039: Ability to reduce the amount of logging by easycwmpd|
|Description||Easycwmpd writes to syslog quite excessively.|
Building without --enable-debug and --enable-devel doesn't seem to make much (any?) difference.
It would be good to be able to specify a config option to reduce the amount of logging to just errors, for example. Particularly for embedded devices with limited storage or limited write cycles.
For example, everything except L_CRIT and L_WARNING could be suppressed with a simple check in log_message (log.c)
|Tags||No tags attached.|
Interesting we will treat this issue as soon as possible.
For the moment, you can change the log_message() function in the log.c file. You can add some check on the priority at the beginning of the function
||Many thanks. Your quick response is much appreciated|
||fixed in the version EasyCwmp-1.1.2|
|2015-02-25 05:53||tomdjpn||New Issue|
|2015-02-25 16:46||mohamed.kallel||Note Added: 0000135|
|2015-02-25 16:47||mohamed.kallel||Severity||major => minor|
|2015-02-26 01:38||tomdjpn||Note Added: 0000138|
|2015-03-16 10:58||mohamed.kallel||Note Added: 0000147|
|2015-03-16 10:58||mohamed.kallel||Status||new => resolved|
|2015-03-16 10:58||mohamed.kallel||Resolution||open => fixed|
|2015-03-16 10:58||mohamed.kallel||Assigned To||=> mohamed.kallel|