Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX: Error messages in the console

 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have used java.util.logging.* API as the logger of the system.
However, I discovered that, in my code, if I use:

The message "xxx" will be shown in the console!
I wonder, does this acceptable? or I must disable the console display, so that the examiner will not see log messages in the console?
Thanks for advice.
Nick.
 
Vlad Rabkin
Ranch Hand
Posts: 555
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nick,
I guess, it is Ok.
You can confire property file of the JRE to let the messages be written in the file. I didn't want to switch off messages statically and I didn't want
to provide any property file for logging configuration. So, I let all messages till level "INFO" be shown in the console (it is standard configuration) and just documented it.
Best,
Vlad
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic