I want to send server runtime errors to me via email. 

Since it should include HTTP request data, I wrote a servlet filter 
where I'm trying to dynamically attach a handler to JUL since I can't just 
define it in the logging.properties.

When I instantiate my handler I just get:

com.crashnote.jul.impl.JulConnector err: unable to attach appender
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:1113)
        at java.util.logging.Handler.checkAccess(Handler.java:301)
        at java.util.logging.Handler.setLevel(Handler.java:256)
        at com.example.jul.CrashHandler.setLogLevel(CrashHandler.java:97)
        at com.example.jul.CrashHandler.start(CrashHandler.java:122)
        at com.example.jul.CrashHandler.init(CrashHandler.java:69)
        at com.example.jul.CrashHandler.<init>(CrashHandler.java:60)
        at com.example.jul.impl.JulConnector.attach(JulConnector.java:55)


Any ideas on how to solve this? 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/X6ezWTjX2s4J.
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.

Reply via email to