Hi Patynek, You dont have to be afraid about logging ..... :) . Logging is considered one of the best practices in the software industry. In basic terms its the technique by which one can see what a Java method performs and values of Instance and Class variables being printed to a file so that when some thing bad happens you can have a look into the application log and find what went wrong.In a production environment on cant always use System.out.println(); to view the values of your output or variables . So when a customer complains the technician would first have a look at the log file that recorded the failure.So thats why its considered one of the best practices to keep your application logging enabled.
For more information on logging standards visit : http://logging.apache.org/log4j/1.2/manual.html Log4j is the widely used API for logging from apache .. Have fun reading what it does and how it can help monitor your application Thanks, Ashok A V On Fri, Jul 31, 2009 at 5:03 PM, pacior<[email protected]> wrote: > > I started to read pre-class reading material in java programming, > chapter: Logging > > "What is the Logging API? > The logging API is part of J2SE as of JDK 1.4, and it ships with the > JDK. It is designed to let a Java program, servlet, applet, EJB, etc. > produce messages of interest to end users, system administrators, > field engineers, and software developers." > Isn't it too important? > If i know how to create logging api, then am i not responsible for > that "end users","system administrators", "engineers","software > deveopers" ? > Isn't it true, that if You will say that logging api is responsible > for him to software developer, he will laught at You?Or to field > engineer?? > I am a little scared about beeing java programmer now, when i read > this. Maybe that logging is not good?Why not better learn design > patterns and know how to make good web applications? > I Hope that Someone would answer . > > Grzegorz Pacior Patynek > > > > -- Victory belongs to the most persevering. - Napoleon --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
