Page 1 of 1

syslog question

Posted: Wednesday 13 July 2016 20:48
by jannl
I enabled the syslog option in the Domoticz startfile.
The only entry I see in the logfile is the starting and stopping of Domoticz.
Is this normal behaviour for the stable 3.4834

Re: syslog question

Posted: Thursday 14 July 2016 8:59
by gizmocuz
it also does not report any errors (if there are errors?)

Re: syslog question

Posted: Thursday 14 July 2016 17:40
by jannl
Hm, not sure. I will check tonight

Re: syslog question

Posted: Thursday 14 July 2016 17:46
by bizziebis
I use syslog for a long time with these daemon arguments:

"$DAEMON_ARGS -daemon -www 80 -loglevel 0 -syslog local1"

It's working just fine.

Re: syslog question

Posted: Thursday 14 July 2016 19:02
by hansrune
+1 on ok. Must be combined with -daemon to take effect.

Re: syslog question

Posted: Thursday 14 July 2016 19:42
by jannl
I am on stable, the local1 option is not in the stable at the moment (when I am correct).

@gizmocuz: no errors are present in syslog, but present in the domoticz log

Re: syslog question

Posted: Thursday 15 September 2016 1:37
by shkaff
I use the same stable version.
And I have the same problem = all variants of -syslog local0...local7 settings are ignored

Instead, some logging info is fragmented across

facility 1 (/var/log/user.log & syslog):
Domoticz is starting up....
Domoticz running...
...
Domoticz is exiting...
Domoticz stopped...

facility 3 (/var/log/daemon.log & syslog):
Starting LSB: Home Automation System...
Domoticz V3.4834 (c)2012-2016 GizMoCuz
Build Hash: 8398125, Date: 2016-03-02 10:43:51
Started LSB: Home Automation System.
System: Raspberry Pi
Startup Path: /home/pi/domoticz/
Domoticz is starting up....
...
Stopping LSB: Home Automation System...
Stopped LSB: Home Automation System.


I configured mosquitto for syslog local5 and I have all its messages logged properly as facility 21

Something is wrong about that in this stable version