• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Logging

 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

what level of logging are we required to apply for the assignment?
eg. entry and exit of every method, or only critical methods?

Also should we allow the user to specify the location of the log file from the GUI and persist it to suncertify.properties?
I would prefer to have it specified in the suncertify.properties rather than through the GUI or just use the users home directory by specifying the pattern in the log handler.. are either of these two allowed?

Thanks in advance,
James
 
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi James,

My assignment doesn't require logging, Yet a good logging technique will make our lives (and most importantly the grader's life) easier.
My point is that this is a decision that you have to take: if you don't provide logging you won't lose points, at the same time if you log heavily (even where it is not needed) log messages will lose their benefit since your log files will be flooded.

regards
reply
    Bookmark Topic Watch Topic
  • New Topic