You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ogre logs are redirected using rviz_rendering::ogre_rendering.cpp.
Currently, every log output generated by this class also includes the path to the ogre_rendering.cpp class.
Example:
[rviz_common:info] Creating resource group General, at /home/greimela/projects/ros2/rviz2_ws/src/aos-rviz2-public/rviz_rendering/src/rviz_rendering/ogre_logging.cpp:80
[rviz_common:info] Creating resource group OgreInternal, at /home/greimela/projects/ros2/rviz2_ws/src/aos-rviz2-public/rviz_rendering/src/rviz_rendering/ogre_logging.cpp:80
[rviz_common:info] Creating resource group OgreAutodetect, at /home/greimela/projects/ros2/rviz2_ws/src/aos-rviz2-public/rviz_rendering/src/rviz_rendering/ogre_logging.cpp:80
...
As far as I can tell Ogre does not provide information such as file name or line number in the Ogre::LogListener.
So we should just remove the path from the log message in this case.
The text was updated successfully, but these errors were encountered:
Yeah, unfortunately the logging API I setup doesn't allow you to not specify the file and line number. I don't think we want to just exclude it because other instances of the log messages have meaningful files and line numbers in them, it's only the Ogre ones that don't and the ogre log messages which are being piped through this API don't provide the original file and line number.
Ogre logs are redirected using
rviz_rendering::ogre_rendering.cpp
.Currently, every log output generated by this class also includes the path to the
ogre_rendering.cpp
class.Example:
As far as I can tell Ogre does not provide information such as file name or line number in the
Ogre::LogListener
.So we should just remove the path from the log message in this case.
The text was updated successfully, but these errors were encountered: