Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Root log level for ozone admin commands cannot be set via config or environment variables, because OzoneAdmin has hard-coded settings:
public static void main(String[] argv) { LogManager.resetConfiguration(); Logger.getRootLogger().setLevel(Level.INFO); Logger.getRootLogger() .addAppender(new ConsoleAppender(new PatternLayout("%m%n"))); Logger.getLogger(NativeCodeLoader.class).setLevel(Level.ERROR); new OzoneAdmin().run(argv); }
Attachments
Issue Links
- links to