diff options
author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2025-07-10 00:20:08 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2025-07-10 00:20:08 +0100 |
commit | 03e50ca399b44a26fefafe325ea40fa453b7d6ea (patch) | |
tree | 7efefb4eafdbff5adfb42b5013d2ea9fa6f06f31 /README.md | |
parent | b37432b1f435f88e18eb7779fecfc33a6260cef3 (diff) | |
download | mqttr-03e50ca399b44a26fefafe325ea40fa453b7d6ea.tar.gz mqttr-03e50ca399b44a26fefafe325ea40fa453b7d6ea.tar.xz mqttr-03e50ca399b44a26fefafe325ea40fa453b7d6ea.zip |
Configurable logging
Would be good to maybe log more things, and maybe play around with log
levels. But this is okay for now.
stderrlog probably will go at some point, too many unnecessary transient
dependencies
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -38,6 +38,10 @@ port = 1883 # MQTT server port qos = "exactly-once" # Default subscription QoS # at-least-once (=0), at-most-once (=1), exactly-once (=2) timeout = 10.5 # Timeout in seconds (0 means (effectively) no timeout) +[log] +level = "info" # The log level + # ("off", "error", "warn", "info", # "debug", "trace") +timestamps = false # Whether to prepend millisecond timestamps to log entries # [credentials] # Uncomment to specify MQTT connection credentials # username = "username" # password = "password" @@ -84,7 +88,6 @@ it being ran every time a new MQTT message is published to this topic. ## Missing Features -* Configurable logging * Ability to configure programs with non-UTF-8 in paths * Maybe config reloading on SIGHUP * TLS |