• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[8.1.4] log-level 6 but no detailed information
#1
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:

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 :)
 
Reply
  


Messages In This Thread
[8.1.4] log-level 6 but no detailed information - by robbie - 03-29-2019, 07:04 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  pilight-recive to much information amberteresa 1 369 07-31-2018, 07:17 PM
Last Post: curlymo
  Set dim level cli joshovki 16 1,811 01-08-2018, 05:02 PM
Last Post: joshovki
  How to hide CPU/RAM/Version information from WebGUI? bnk72 3 690 11-12-2017, 10:24 AM
Last Post: pilino1234
  Recommended Dimmer module with level setting alasdairc 3 1,453 10-14-2015, 08:40 PM
Last Post: alasdairc
  pilight-recive to much information koos147 1 1,357 04-01-2015, 06:27 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)