how to save log?

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
martin085
Posts: 1
Joined: Thursday 25 June 2020 6:03
Target OS: Windows
Domoticz version:
Contact:

how to save log?

Post by martin085 »

Hi all,
I have a Raspi running domoticz that's connected to a couple of sonoffs. thats it.
however, every few hours (up to a day or so) my domoticz goes offline without apparent reason. since its offline i can't see the log and figure out why its disconnecting.
I can't seem to find a proper log file or even how to activate one.

is there a way of saving the log on my smartphone (which runs domoticz app?) or maybe, so it could be live, to send it via telegram?
thanks.คาสิโนออนไลน์
FlyingDomotic
Posts: 392
Joined: Saturday 27 February 2016 0:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: how to save log?

Post by FlyingDomotic »

Default log is located (under Unix) on /var/log/domoticz.log. You may read it from here.
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: how to save log?

Post by Egregius »

You can find the location in /etc/init.d/domoticz.sh
If the line starts with a # remove the # and restart domoticz.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest