Daniel Fuchs e6c7f041f9 8195096: Exception printed on console with custom LogManager on starting Apache Tomcat
Make sure that loadLoggerHandler for ".handler" is called only from within addLogger

Reviewed-by: mchung
2018-01-26 14:15:09 +00:00

14 lines
653 B
Plaintext

grant {
// permissions for RootLoggerHandlers
permission java.util.PropertyPermission "*", "read";
permission java.util.PropertyPermission "java.util.logging.config.file", "write";
permission java.io.FilePermission "<<ALL FILES>>", "read,write,delete";
permission java.util.logging.LoggingPermission "control";
// additional permissions for BadRootLoggerHandlers
permission java.util.PropertyPermission "java.util.logging.manager", "write";
permission java.lang.RuntimePermission "setIO";
permission java.lang.RuntimePermission "shutdownHooks";
permission java.lang.RuntimePermission "setContextClassLoader";
};