mgmt-framework error syslog

35 views
Skip to first unread message

Xianlong Qin

unread,
Mar 2, 2020, 8:20:04 PM3/2/20
to sonic-mgmt...@googlegroups.com
Hello,

Anybody know the reason of below error message when rest-server coming
up? My image is based on 201911 branch, last commit is 887ea003 on
02/15/2020. Have already patched below 3 commits and rest-server is
running.

564508 "Removing explicit libyang plugin path settings. Libyang debian
package installs the extensions in standard location."
af4e842 "Start RestAPI container when sonic boots"
398929c "[mgmt-framework] start after syncd"


Error Message in Syslog:

Feb 24 22:40:38.284005 kings9 INFO mgmt-framework#supervisord:
rest-server ERROR: logging before flag.Parse: I0224 22:40:38.283557
257 util.go:161] Current Values of CVL Configuration File
map[TRACE_DELETE:false LOGTOSTDERR:false __comment3__:Display log upto
INFO level STDERRTHRESHOLD:ERROR __comment4__:Display log upto INFO
level 8 TRACE_LIBYANG:false TRACE_CREATE:false TRACE_SEMANTIC:false
__comment1__:Log trace data when error occurs TRACE_ONERROR:true
TRACE_CACHE:false TRACE_UPDATE:false SKIP_VALIDATION:false
TRACE_YPARSER:false TRACE_SYNTAX:false __comment2__:Set LOGTOSTDER to
'true' to log on standard error VERBOSITY:0
SKIP_SEMANTIC_VALIDATION:false]

Thanks,
Xianlong

Sachin Holla

unread,
Mar 3, 2020, 12:01:51 AM3/3/20
to Xianlong Qin, sonic-mgmt...@googlegroups.com
Hi Xianlong,

You can ignore the lines starting with "ERROR: logging before flag.Parse" text. This is actually a warning printed by github.com/golang/glog package and does not affect any functionality. Please check if REST server is up by running the following query:


Regards,
Sachin

--
You received this message because you are subscribed to the Google Groups "sonic-mgmt-workgroup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonic-mgmt-workg...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonic-mgmt-workgroup/CAPGx2p7paKLZCnsD7CA7dZSLkMtPo2MAV-fU81kZ8pE%2BhifPpA%40mail.gmail.com.

Xianlong Qin

unread,
Mar 3, 2020, 1:19:08 PM3/3/20
to Sachin Holla, sonic-mgmt...@googlegroups.com
Thanks for the info, Sachin.

Regards,
Xianlong
Reply all
Reply to author
Forward
0 new messages