private static final Logger LOGGER = Logger.getLogger( ClassName.class.getName() );
Logging is the process of writing log messages during the execution of a
program to a central place.This logging allows you to report and persist
error and warning messages as well as info messages (e.g., runtime
statistics) so that the messages can later be retrieved and analyzed.
In computing, a log file is a file that records either events that
occur in an operating system or other software runs, or messages between
different users of a communication software. Logging is the act of
keeping a log. ... Many operating systems, software frameworks and
programs include a logging system.
LogManager manager = new LogManager();
Logger logger = Logger.getLogger("newLoggerName");