syslog question

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
jannl
Posts: 625
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

syslog question

Post 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
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: syslog question

Post by gizmocuz »

it also does not report any errors (if there are errors?)
Quality outlives Quantity!
jannl
Posts: 625
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: syslog question

Post by jannl »

Hm, not sure. I will check tonight
User avatar
bizziebis
Posts: 182
Joined: Saturday 19 October 2013 14:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8805
Location: The Netherlands
Contact:

Re: syslog question

Post 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.
hansrune
Posts: 49
Joined: Monday 07 October 2013 10:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: syslog question

Post by hansrune »

+1 on ok. Must be combined with -daemon to take effect.
jannl
Posts: 625
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: syslog question

Post 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
shkaff
Posts: 16
Joined: Friday 11 December 2015 10:29
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Contact:

Re: syslog question

Post 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
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest