Home | History | Annotate | Download | only in logging

Lines Matching defs:logging

28 package sun.util.logging;
44 * static dependency of the logging facility and also defers the
45 * java.util.logging initialization until it is enabled.
46 * In addition, the PlatformLogger API can be used if the logging
49 * If the logging facility is not enabled, the platform loggers
50 * will output log messages per the default logging configuration
54 * When the logging facility is enabled (at startup or runtime),
55 * the java.util.logging.Logger will be created for each platform
59 * Logging facility is "enabled" when one of the following
61 * 1) a system property "java.util.logging.config.class" or
62 * "java.util.logging.config.file" is set
63 * 2) java.util.logging.LogManager or java.util.logging.Logger
64 * is referenced that will trigger the logging initialization.
66 * Default logging configuration:
67 * global logging level = INFO
68 * handlers = java.util.logging.ConsoleHandler
69 * java.util.logging.ConsoleHandler.level = INFO
70 * java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
73 * <JAVA_HOME>/lib/logging.properties is the system-wide logging
75 * default case to configure any java.util.logging.Logger instances.
76 * Platform loggers will not detect if <JAVA_HOME>/lib/logging.properties
77 * is modified. In other words, unless the java.util.logging API
78 * is used at runtime or the logging system properties is set,
82 * -Djava.util.logging.config.file system property.
88 // The integer values must match that of {@code java.util.logging.Level}
101 * PlatformLogger logging levels.
104 // The name and value must match that of {@code java.util.logging.Level}s.
117 * Associated java.util.logging.Level lazily initialized in
119 * when java.util.logging is available and enabled.
122 /* java.util.logging.Level */ Object javaLevel;
162 String cname = System.getProperty("java.util.logging.config.class");
163 String fname = System.getProperty("java.util.logging.config.file");
172 // java.util.logging may not be enabled.
174 Class.forName("sun.util.logging.PlatformLogger$DefaultLoggerProxy",
177 Class.forName("sun.util.logging.PlatformLogger$JavaLoggerProxy",
207 * Initialize java.util.logging.Logger objects for all platform loggers.
235 // when the java.util.logging facility is enabled
237 // javaLoggerProxy is only set when the java.util.logging facility is enabled
290 * can be used to turn off logging.
408 * Abstract base class for logging support, defining the API and common field.
432 * Default platform logging support - output messages to System.err -
493 // Copied from java.util.logging.Formatter.formatMessage
518 LoggingSupport.getSimpleFormat(false); // don't check logging.properties
551 String logClassName = "sun.util.logging.PlatformLogger";
590 * java.util.logging.Logger object.
600 private final /* java.util.logging.Logger */ Object javaLogger;