OnosTeam / onos

onos
http://myonos.com
2 stars 0 forks source link

Segnalazione errori tramite log di sistema #39

Closed onosAdmin closed 7 years ago

onosAdmin commented 7 years ago

To implement the error logging with syslog.syslog(error_message) , to check if is it possible to use it on openwrt..

onosAdmin commented 7 years ago

Implemented logprint() function that handle all the prints call. Now the errors will be sent to /var/log/syslog note that on openwrt to read the log you have to type: logread Todo: replace all the remaining print() in the system to logprin()