EasyCwmp

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000039easycwmp[All Projects] Enhancementpublic2015-02-25 05:532015-03-16 10:58
Reportertomdjpn 
Assigned Tomohamed.kallel 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
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.
Attached Files

- Relationships

-  Notes
(0000135)
mohamed.kallel (manager)
2015-02-25 16:46

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
(0000138)
tomdjpn (reporter)
2015-02-26 01:38

Many thanks. Your quick response is much appreciated
(0000147)
mohamed.kallel (manager)
2015-03-16 10:58

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


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker