Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about log file

 
James Du
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, guys
How do you handle the exceptions? do you record all that in an external log file?
another question, is it necessary to record the user operations in a log file?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it is an Exception that the User needs to know about, I display a nice JOptionPane to bring up a dialog window and give them a nice message as to the problem.
Mark
 
James Du
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for quick response, but dont you think that the users need a log file for the future reference ? What about the user operations, dont you think that this is the propre situation for the log file ?
Regards
James
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

What about the user operations, dont you think that this is the propre situation for the log file ?

I don't think you need to log user operations, or anything else, -- it's not in the requirements.
Eugene.
 
James Du
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Eugene, I got it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic