Conversation
834f392 to
49ce6c1
Compare
Signed-off-by: Francois van Eeden <cfveeden@clearpath.ai>
Signed-off-by: Francois van Eeden <cfveeden@clearpath.ai>
Signed-off-by: Francois van Eeden <cfveeden@clearpath.ai>
c1d20ec to
329a182
Compare
|
@clalancette and @wjwwood is this change something that looks like it can be included? |
fujitatomoya
left a comment
There was a problem hiding this comment.
similar comment with #105 (review)
can we use const char * config_file argument for backend logger initialization. i think that would be the place to put those settings and configuration.
btw, config_file is not used currently, so maybe we could start, what configuration or setting should be described in config_file for rcl_logging_spdlog?
|
@fujitatomoya |
|
@cfveeden i was thinking that we need to have something similar with https://github.com/guangie88/spdlog_setup in |
|
@fujitatomoya From the notes on the page the group is on hiatus and from the meeting minutes, I see the last meeting for that WG took place on 2023-01-18. Is it still active? If it is, it would be good to have the discussion and gather more requirements and insights from others. For configuring
|
|
The client WG hasn't met in a few months. |
|
@cfveeden based on #103 (comment), IMO,
this looks reasonable for me. off the top of my head,
maybe we can open the dedicated task issue for this and link all issues to it to track. unfortunately, i do not have bandwidth for this task right now, but i am happy to review and discuss details. |
If you want to organise the effort under an initiative, I think #92 provides some of the things that we should aim for, especially the section under "For these reasons, I propose we make these changes:" in the OP's comment. Other issues of interest for logging features would be #100, #105, #106. |
hi, i follow you to this way , and i set 110241024 for
i follow you, i set ROS_LOG_DIR=~/.my_log,and i set RCL_LOGGING_SPDLOG_ROTATING_FILE_SIZE_BYTES=510241024 |
|
@Autostone-c this PR is not merged yet, and actually we are going to have discussion on how to use configuration file instead. so i think you are on your own with this PR, if you are trying. if your problem still happens released distro, please consider to open another issue. |
Description
spdlogsupports rotating loggers, butrcl_loggingis not currently using them. This PR introduces the capability and puts the feature behind an envvar to preserve the original behaviour.Details
The introduced ennvars and their defaults are: