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

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
1

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: https://github.com/ros2/rcl_logging/b...

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

3 followers

Stats

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

Seen: 496 times

Last updated: Dec 17 '21