View Issue Details

IDProjectCategoryView StatusLast Update
0000215easycwmpHelppublic2017-04-20 17:36
Reporterandy_yang Assigned Tomohamed.kallel  
PriorityimmediateSeverityblockReproducibilityalways
Status resolvedResolutionno change required 
PlatformopenwrtOSlinuxOS Versionlinux3.2
Summary0000215: easycwmpd can't printf log message
DescriptionI have install easycwmp successlyg by help of EasyCwmp install for OpenWRT Linux. But I meet a block that my easycwmpd process can't printf log message.


Steps To Reproduceroot@OpenWrt:/# /usr/sbin/easycwmpd -f boot
root@OpenWrt:/# ps | grep easycwmp
17654 root 1900 S /usr/sbin/easycwmpd -f --boot
18954 root 1344 S grep easycwmp
root@OpenWrt:/#
TagsNo tags attached.
e-mail notification

Activities

andy_yang

2017-04-20 11:36

reporter   ~0000683

How to printf log message on the openwrt platform?

mohamed.kallel

2017-04-20 12:05

administrator   ~0000684

you can see log in syslog file of openwrt

Otherwise you have to stop easycwmp with /etc/init.d/easycwmpd stop
and then started with /usr/sbin/easycwmpd -b

if you satrt easycwmp with /etc/init.d/easycwmpd then the log will be catched by the procd and you will not see the logs in the console

andy_yang

2017-04-20 12:09

reporter   ~0000685

root@OpenWrt:/# /usr/sbin/easycwmpd --help
Usage: easycwmpd [OPTIONS]
 -f, --foreground Run in the foreground
 -b, --boot Run with "1 BOOT" event
 -g, --getrpcmethod Run with "2 PERIODIC" event and with ACS GetRPCMethods
 -h, --help Display this help text
 -v, --version Display the easycwmpd version


easycwmpd Run in the foreground, how to modify to run as following :
 /usr/sbin/easycwmpd -run

mohamed.kallel

2017-04-20 12:13

administrator   ~0000686

if you want easycwmpd to run in foreground:

 /usr/sbin/easycwmpd -f -b

if you want easycwmpd to run in background:

 /usr/sbin/easycwmpd -b

Issue History

Date Modified Username Field Change
2017-04-20 11:35 andy_yang New Issue
2017-04-20 11:36 andy_yang Note Added: 0000683
2017-04-20 12:05 mohamed.kallel Note Added: 0000684
2017-04-20 12:09 andy_yang Note Added: 0000685
2017-04-20 12:13 mohamed.kallel Note Added: 0000686
2017-04-20 17:36 mohamed.kallel Status new => resolved
2017-04-20 17:36 mohamed.kallel Resolution open => no change required
2017-04-20 17:36 mohamed.kallel Assigned To => mohamed.kallel