- We are using java.util.loggingpackage for logging.
- The LogsCenterclass is used to manage the logging levels and logging destinations.
- The Loggerfor a class can be obtained usingLogsCenter.getLogger(Class)which will log messages according to the specified logging level.
- Log messages are output through the console and to a .logfile.
- The output logging level can be controlled using the logLevelsetting in the configuration file (See the Configuration guide section).
- When choosing a level for a log message, follow the conventions given in [se-edu/guides] Java: Logging conventions.