title: webstart application logging permission denied
body: <p>is it possible to use java.util.Logging and log to a file in a java webstart application?
  I have the following logging code:</p>
  
  <pre>
  
   Handler fh = new FileHandler("myapp.log");
   Logger.getLogger(MyApp.class.getName()).addHandler(fh);
  
  </pre>
  
  <p>and got the following exception:</p>
  
  <pre>
  
  java.security.AccessControlException: access denied (java.util.logging.LoggingPermission control)
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      at java.security.AccessController.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPermission(Unknown Source)
      at java.util.logging.LogManager.checkAccess(Unknown Source)
      at java.util.logging.Handler.checkAccess(Unknown Source)
      at java.util.logging.FileHandler.(Unknown Source)
      at whoisapiclient.WhoisAPIClientApp.main(WhoisAPIClientApp.java:80)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at com.sun.javaws.Launcher.executeApplication(Unknown Source)
      at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
      at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
      at com.sun.javaws.Launcher.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
  
  </pre>