Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mosquitto-dev] mosquitto logging

Hi,

It seems that mosquitto logs are not immediately written into the log file, if you run tail -f /var/log/mosquitto.log, you can see a line stops in the middle, e.g.

1414752777: New connection from xxx.xxx.xxx.xxx on port xxxx.
1414752777: New client connecte

It seems that logs are flushed into the log file every couple of minutes or when the broker restarts. How to make the logs go immediately into the log file?

And how to make the timestamp more human readable?


Thanks
Romu


Back to the top