Excessive logging / Website & Hue warnings logged

Hi,

Thanks for Nymea - I’m just starting out and it’s going to be fun :slight_smile:

I’m seeing copious messages in daemon.log and syslog, duplicated - is this intended? If there’s no configuration option within nymea itself am I OK to optimize the logging in rsyslogd configuration?

System has been up a day or so and already daemon.log is large:

-rw-r-----  1 root adm  20206953 Aug  4 13:10 daemon.log
-rw-r-----  1 root adm   5973701 Aug  4 13:10 syslog

Mainly with:

Aug  4 13:12:39 localhost nymead[11403]: #033[33m W | WebServer: requested file "/usr/share/nymea-webinterface/public///wss://192.168.0.185:4444" does not exist.#033[0m
Aug  4 13:12:39 localhost nymead[11403]: #033[33m W | WebServer: requested file "/usr/share/nymea-webinterface/public///wss://192.168.0.185:4444" does not exist.#033[0m
Aug  4 13:12:39 localhost nymead[11403]: #033[33m W | WebServer: requested file "/usr/share/nymea-webinterface/public///nymeas://192.168.0.185:2222" does not exist.#033[0m
Aug  4 13:12:39 localhost nymead[11403]: #033[33m W | WebServer: requested file "/usr/share/nymea-webinterface/public///nymeas://192.168.0.185:2222" does not exist.#033[0m

and

Aug  4 13:12:39 localhost nymead[11403]: #033[33m W | Thing: "Lounge Iris": Invalid value QVariant(int, 0) for state "colorTemperature". Out of range: QVariant(int, 153) - QVariant(int, 500) (Correcting to closest value within range)#033[0m
Aug  4 13:12:39 localhost nymead[11403]: #033[33m W | Thing: "Kitchen Strip": Invalid value QVariant(int, 0) for state "colorTemperature". Out of range: QVariant(int, 153) - QVariant(int, 500) (Correcting to closest value within range)#033[0m

So what is trying to access the webserver in an inappropriate way?
How can I address the QVariant messages from my Hue devices?

Any advice much appreciated.

Chris

Hi @Habile, welcome to nymea!

Hmm… Right… so the webserver is a quite annoying one… I’m not sure what exactly is causing this. We know that UPnP requests produce those messages and we should fix them, or at least silence them.

For the Hue one, this is a new one. Are you running the testing or experimental repository? We only recently added this warning message and it’s not even in the stable yet. The Hue plugin needs to be fixed to not set this invalid message. Thanks for pointing it out.

In any case, both messages should not impact the operation of your nymea instance (except growing the log size - but that will probably be rotated at some point anyways, no?)

I’ll look into improving that situation. Thanks again.

Thank Michael,

Yes, I’m always highly experimental :slight_smile: - 0.23.0+202008040017~buster+rpi1

The Raspberry PI image is great by the way - just what I was looking for wrt kiosk functionality.

I can deal with the log messages, just wanted to be sure nothing touches or relies on rsyslog.

Thanks again!
C.

1 Like