LogManager getLogManager readConfiguration new ByteArrayInputStream ha

1
2
3
4
5
6
7
8
LogManager.getLogManager().readConfiguration(
new ByteArrayInputStream(
("handlers=java.util.logging.ConsoleHandler\n" +
"java.util.logging.SimpleFormatter.format=%5$s%6$s%n%n\n" +
"java.util.logging.ConsoleHandler.level=ALL\n"
).getBytes()
)
);