dosgo / ngrok-c

ngrok client for c language,Due to the use of GO ngrok language development, porting to embedded devices some inconvenience, such as openwrt, so use C language rewrite a client. Very mini, the need to support polarssl library.
MIT License
497 stars 202 forks source link

往syslog里写入太多的日志,有办法消除吗? #50

Closed sinowood closed 6 years ago

sinowood commented 7 years ago

看到很多类似如下的日志,可以设置不写入syslog吗? user.emerg syslog: {"Type":"Pong","Payload":{}}

dosgo commented 7 years ago

第一,这是普通输出,应该不会记录系统日志,可能跟你的运行重定向有关,第二输出你可以关掉,在config.h,关掉重新编译。

sinowood commented 7 years ago

好像rc.local里的输出被重定向到syslog了,我加上 > /dev/nul后解决问题,谢谢!