• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Log file for JNLP application

 
Ranch Hand
Posts: 47
Netbeans IDE Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I'm developing a Java Swing application and enabled them with Java web start feature.

Currently, i'm logging the events in a log file and saving them in jre folder.

Is this a correct way of logging an application?

If not where can i save the log files?
 
Bartender
Posts: 1166
17
Netbeans IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Carl John wrote:I'm developing a Java Swing application and enabled them with Java web start feature.

Currently, i'm logging the events in a log file and saving them in jre folder.

Is this a correct way of logging an application?


No - depending on how and where the JRE is installed that folder may be write protected.


If not where can i save the log files?


For applications I create a hidden directory in the user's home directory. Typically I use the application's name prefixed by a '.' .

Note - you do realise that with the latest WebStart security model you will either have to purchase a CA signed certificate or get the user to install your self signed certificate in his cacerts file before he can run your WebStart application.
 
reply
    Bookmark Topic Watch Topic
  • New Topic