xqms / rosmon

ROS node launcher & monitoring daemon
Other
180 stars 47 forks source link

Add node name to stdout log when the --disable-ui option is used. #139

Closed stevegolton closed 3 years ago

stevegolton commented 3 years ago

Using rosmon with systemd and --disable-ui --flush-stdout is a nice combination to get unbuffered logs which can be managed using journalctl. However, the node name is not included in this information, only the function name, making it difficult to diagnose issues.

Example:

[main]: Log message

Desired:

mynode: [main]: Log message

Propose to add an option like --stdout-nodename or similar to output log messages in the desired format above.