Hello Everyone,
I have been using pilight for something like 3 years now.
I am using klik-aan-klik-uit receivers (dimmers and switches) and everything works great :)
When i was setting it all up i frequently used the logfiles to check if my rules were being parsed correctly and at the specified time from my config file. There were entries like: 12.15.00 parced rules licht_slaapkamer_uit.
Because everyting runs great i havent been using/checking the logs for quite some time after completing my configuration.
Recently i tweaked the rules a bit, so i wanted to check the logfile to see if they were being parsed at the correct time,
but the wasn't anything about rules being parsed in the logs.
Since i can control all my devices from the web interface, and rules that "do stuff" at specified times work, i do know that pilight is working.
The only thing is about my rules i see now is when i have (re)started the pilight service:
There are no more log entries until i restart pilight.
I don't understand why i don't see entries like "parsed rule blah at ..." (i don't remember exactly what these lines looked like, its been a while) anymore.
This is the settings part from my config.json:
I've changed the the "log-level" value to values ranging from 1 to 6, but i never see more information in the logs.
According to the pilight documentation (hxxps://manual.pilight.org/configuration/settings.html#log-level) level 6 is "information":
So why am i not seeing more information in the log anymore? Any ideas?
(I am running pilight 8.1.4 on a Raspberry PI3 with Raspbian linux and would be happy to provide more information if needed :)
I have been using pilight for something like 3 years now.
I am using klik-aan-klik-uit receivers (dimmers and switches) and everything works great :)
When i was setting it all up i frequently used the logfiles to check if my rules were being parsed correctly and at the specified time from my config file. There were entries like: 12.15.00 parced rules licht_slaapkamer_uit.
Because everyting runs great i havent been using/checking the logs for quite some time after completing my configuration.
Recently i tweaked the rules a bit, so i wanted to check the logfile to see if they were being parsed at the correct time,
but the wasn't anything about rules being parsed in the logs.
Since i can control all my devices from the web interface, and rules that "do stuff" at specified times work, i do know that pilight is working.
The only thing is about my rules i see now is when i have (re)started the pilight service:
Code:
root@domo:# tail /var/log/pilight.log
[Mar 27 06:11:38:308588] pilight-daemon: INFO: rule #18 leds_woonkamer_uit was parsed in 0.010011 seconds
[Mar 27 06:11:38:320479] pilight-daemon: INFO: rule #19 dimmers_voor_aan_half_uur_voor_zonsondergang was parsed in 0.011846 seconds
[Mar 27 06:11:38:332036] pilight-daemon: INFO: rule #20 leds_kasten_aan_15_min_voor_zonsondergang_als_niet_thuis was parsed in 0.011505 seconds
[Mar 27 06:11:38:339727] pilight-daemon: INFO: rule #21 tv_mode1 was parsed in 0.007646 seconds
[Mar 27 06:11:38:347358] pilight-daemon: INFO: rule #22 tv_mode2 was parsed in 0.007602 seconds
[Mar 27 06:11:38:355077] pilight-daemon: INFO: rule #23 tv_mode3 was parsed in 0.007695 seconds
[Mar 27 06:11:38:374603] pilight-daemon: INFO: rule #24 alles_uit was parsed in 0.019484 seconds
[Mar 27 06:11:38:380267] pilight-daemon: INFO: rule #25 kasten_aan was parsed in 0.005589 seconds
[Mar 27 06:11:38:395618] pilight-daemon: INFO: rule #26 scenario99 was parsed in 0.015323 seconds
There are no more log entries until i restart pilight.
I don't understand why i don't see entries like "parsed rule blah at ..." (i don't remember exactly what these lines looked like, its been a while) anymore.
This is the settings part from my config.json:
Code:
"settings": {
"log-level": 6,
"pid-file": "/var/run/pilight.pid",
"log-file": "/var/log/pilight.log",
"webserver-enable": 1,
"webserver-root": "/usr/local/share/pilight/webgui",
"webserver-http-port": 5001,
"webserver-cache": 1,
"whitelist": "",
"ntp-servers": [ "192.168.1.150" ],
"gpio-platform": "raspberrypi3"
},
"hardware": {
"433gpio": {
"sender": 0,
"receiver": 1
}
},
"registry": {
"webserver": {
"ssl": {
"certificate": {
"location": "/etc/pilight/pilight.pem"
}
}
},
"pilight": {
"version": {
"current": "8.1.4"
}
}
}
I've changed the the "log-level" value to values ranging from 1 to 6, but i never see more information in the logs.
According to the pilight documentation (hxxps://manual.pilight.org/configuration/settings.html#log-level) level 6 is "information":
Quote:The log-level tells pilight what messages it should log into the log-file. The higher the log-level the more messages are logged into the log-file. The highest log-level is 6 and the lowest is 0. These log-levels correspond to the following log types:
0 = emergency, 1 = alert, 2 = critical, 3 = , 4 = warning, 5 = notification, 6 = information"
So why am i not seeing more information in the log anymore? Any ideas?
(I am running pilight 8.1.4 on a Raspberry PI3 with Raspbian linux and would be happy to provide more information if needed :)