Hi All,
I'm trying to set a custom Formatter (subclass of
java.util.logging.Formatter) to a custom Handler (subclass of
java.util.logging.Handler).
Adding the handler to a default Logger apparently works fine. However,
when setting the custom Formatter I get the following
AccesControlException:
Uncaught exception from servlet
java.lang.ExceptionInInitializerError
[...]
Caused by: java.security.AccessControlException: access denied
(java.util.logging.LoggingPermission control)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:
355)
at
java.security.AccessController.checkPermission(AccessController.java:
567)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:
549)
at
com.google.apphosting.runtime.security.CustomSecurityManager.checkPermission(CustomSecurityManager.java:
45)
at java.util.logging.LogManager.checkAccess(LogManager.java:957)
at java.util.logging.Handler.checkAccess(Handler.java:301)
at java.util.logging.Handler.setFormatter(Handler.java:114)
Any ideas how this could be resolved?
Thanks!
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.