Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

[Pirk-65] Debug Logging Not Working within Distributed Applications #104

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

wraydulany
Copy link
Contributor

Fixes distributed logging.

In order to do so, we need to use the log4j2-1.2 bridge, and reassert our own log4j properties after hadoop/yarn start. We also need to make sure that our log4j1-style properties file is not named log4j.properties, as that name is eaten by hadoop because hadoop has a file of the same name earlier in the classpath than our properties file.

@ellisonanne
Copy link
Contributor

Can't seem to get the debug to work even in the local tests (?) Didn't try to troubleshoot more than a couple of minutes. What log settings are you using to test the debug?

Are we making the decision to role back to a .properties file instead of a .xml file for the logging properties?

@smarthi
Copy link
Member

smarthi commented Sep 29, 2016

@ellisonanne didn't we test this in distributed mode IIRC when we retired the old LogUtils and moved to slf4j ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants