incubator-retired-pirk icon indicating copy to clipboard operation
incubator-retired-pirk copied to clipboard

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

Open wraydulany opened this issue 9 years ago • 2 comments

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.

wraydulany avatar Sep 27 '16 18:09 wraydulany

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?

ellisonanne avatar Sep 28 '16 01:09 ellisonanne

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

smarthi avatar Sep 29 '16 20:09 smarthi