• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

NX: Error messages in the console

 
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 555
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic