Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JDK Logging in a Web Application?  RSS feed

 
ralph soika
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need some help for a possible simple problem. I want to use JDK Logging in my Web Application (running on Glassfish) to log application specific messages into a separate log file. I can't figure out how to do this :-(
Has anybody done this and can give me a short example. Or did anybody have a useful link to a tutorial? I have not found any example for this problem.

Thanks
Ralph
 
amit punekar
Ranch Hand
Posts: 544
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
You can check this one regarding log4j usage.
Hope you find this useful as JDK logging is almost similar to this.

regds,
Amit
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!