ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

external config for spdlog or ability to set custom filename for log in ros2

asked 2020-11-06 07:12:20 -0500

MHx gravatar image

updated 2020-11-06 07:52:49 -0500

Is there anything in the pipeline in terms of building ability to read external config files for the default logger, spdlog?

Alternatively, does a method exist or is currently being developed, for setting custom names for log files?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-12-17 02:26:41 -0500

rasmusan- gravatar image

Afaik, the implementation of the default logger (spdlog) does not currently support custom log configuration:

If you compile ROS2 from source, you can use log4cxx instead, which does support external configuration. There are however a number of other issues with that (which is why the default logging system was changed to spdlog).

edit flag offensive delete link more

Question Tools



Asked: 2020-11-06 07:12:20 -0500

Seen: 497 times

Last updated: Dec 17 '21