Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

abt log file

 
kirtesh jain
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ...
in my application i want to create a log file whenever a error occurs and all errors which are cought in try catch block should be transfered to this log file ...
please help me out how can i achive this means how can i creat a log file...
thank you...
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could have a look at any or all of the following:
  • JDK Logging
  • log4j
  • commons-logging
  •  
    kirtesh jain
    Ranch Hand
    Posts: 44
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    thanks for the links...
    it was useful and solved my problem
    thanks a lot...
     
    Bert Bates
    author
    Sheriff
    Posts: 8898
    5
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    off to the intermediate forum
     
    With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic