Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactoring to make log4cxx an optional dependency #306

Merged
merged 10 commits into from
Nov 18, 2013
Merged

Conversation

dirk-thomas
Copy link
Member

@gerkey @tfoote @wjwwood Please review.

Especially any feedback on the interface for custom backends would be appreciated (see https://github.com/ros/ros_comm/compare/log4cxx?expand=1#diff-1e993bcf45a700893f4d675ec053f1aaR57).

@wjwwood
Copy link
Member

wjwwood commented Oct 24, 2013

Reviewing this is going to take a while, I'll try to get to it by Friday.

@dirk-thomas
Copy link
Member Author

Please take some time to review this in the near future so that we can pass it on for external testing/review.

@tfoote
Copy link
Member

tfoote commented Oct 31, 2013

In the diff there are 20+ instances of "new" but no deletes.

color = COLOR_NORMAL;
}
else if (event->getLevel() == log4cxx::Level::getDebug())
#if 0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this block be left, or something else done with it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code was just moved around. I would just keep it - I guess it was only used for debugging purposes.

@dirk-thomas
Copy link
Member Author

@tfoote (#306 (comment)) The allocated objects are either globals which we currently have no way of cleaning up correctly as well as log appenders which are managed within log4cxx.

@dirk-thomas
Copy link
Member Author

I have integrated all changes. Any further feedback? Else I will hand it over for external review/testing.

@wjwwood
Copy link
Member

wjwwood commented Oct 31, 2013

Nope looks good to me.

@tfoote
Copy link
Member

tfoote commented Oct 31, 2013

+1 overall

dirk-thomas added a commit that referenced this pull request Nov 18, 2013
refactoring to make log4cxx an optional dependency
@dirk-thomas dirk-thomas merged commit 5585842 into hydro-devel Nov 18, 2013
@dirk-thomas dirk-thomas deleted the log4cxx branch November 18, 2013 23:13
contradict pushed a commit to contradict/ros_comm that referenced this pull request Aug 12, 2016
contradict pushed a commit to contradict/ros_comm that referenced this pull request Aug 12, 2016
rsinnet pushed a commit to MisoRobotics/ros_comm that referenced this pull request Jun 19, 2017
refactoring to make log4cxx an optional dependency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants