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

Which version of log4cxx is combined with ROS ?

asked 2015-06-14 12:01:01 -0500

yagamiram gravatar image

I'm wondering which version of log4cxx is combined with ROS. Because, the logcxx properties file which I have written is not parsing rolling policy and triggering policy. Later I came to know that, there is a resolved-bug based on configuring the properties file to support rolling and triggering policy. Even though bug has been resolved in 2008, I don't see it as reflected on the ROS indigo version that I use in my computer.

Any one guide me on this ?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2015-06-14 13:09:48 -0500

ahendrix gravatar image

ROS uses Ubuntu's version of log4cxx. It looks like Ubuntu have been packaging log4cxx 0.10.0 since at least 12.04, according to their package search

edit flag offensive delete link more

Comments

Oh thanks for the information. Just in case, have you tried using rolling and triggering policy in the log4cxx before with the latest version ?

yagamiram gravatar image yagamiram  ( 2015-06-14 13:54:15 -0500 )edit

I haven't. You should be able to trace your bug report and fix through to the first version of log4cxx where it was fixed, and you should be able to follow that version to determine if it's released in Ubuntu or not.

ahendrix gravatar image ahendrix  ( 2015-06-14 14:04:48 -0500 )edit

I suspect there aren't many people on this forum who use log4cxx extensively, beyond the logging that ROS already provides. I've answered your question about which version ships with ROS; you may need to ask elsewhere for help debugging issues that are specific to log4cxx.

ahendrix gravatar image ahendrix  ( 2015-06-14 14:06:55 -0500 )edit
0

answered 2015-06-17 09:36:32 -0500

yagamiram gravatar image

updated 2015-06-17 09:36:57 -0500

Actually it's configurable using just properties in log4j. This posting discusses it: http://stackoverflow.com/a/6037141

Here's the bug that addresses it: https://bz.apache.org/bugzilla/show_b...

And the code that fixes it: http://svn.apache.org/viewvc?view=rev...

However it doesn't work in log4cxx as development halted a few months before this change went in. So working with XML configuration is the best choice.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2015-06-14 12:01:01 -0500

Seen: 896 times

Last updated: Jun 17 '15