Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.
This repository was archived by the owner on May 31, 2025. It is now read-only.

Better error output when logging cannot create folder #1063

@nordmoen

Description

@nordmoen

Summary:
In the function configure_logging it would be nice if in addition to printing that the folder cannot be created print the exception being thrown.

Longer explanation:
I am having a problem where I need to run ROS on a limited environment. To allow for logging the system lets me create a folder and expose that to ROS. The problem I have been having is that when the system creates the folder it is created with different group than ROS is running under. This resulted in the situation where ROS was able to create the logging directory, but not change the folders permissions (parent folder had group root). I have used quite some time debugging why this was happening and it took some time before I found the function responsible since the folder was created successfully, but ROS still stopped with "cannot create directory".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions