View Issue Details

IDProjectCategoryView StatusLast Update
0000039easycwmpEnhancementpublic2015-03-16 10:58
Reportertomdjpn Assigned Tomohamed.kallel  
Status resolvedResolutionfixed 
Summary0000039: Ability to reduce the amount of logging by easycwmpd
DescriptionEasycwmpd 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)
TagsNo tags attached.



2015-02-25 16:46

administrator   ~0000135

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


2015-02-26 01:38

reporter   ~0000138

Many thanks. Your quick response is much appreciated


2015-03-16 10:58

administrator   ~0000147

fixed in the version EasyCwmp-1.1.2

Issue History

Date Modified Username Field Change
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