| java.lang.Object org.apache.jorphan.logging.LoggingManager
LoggingManager | final public class LoggingManager (Code) | | Manages JMeter logging
|
getLoggerFor | public static Logger getLoggerFor(String category)(Code) | | |
getLoggerForClass | public static Logger getLoggerForClass()(Code) | | Get the Logger for a class - no argument needed because the calling class
name is derived automatically from the call stack.
Logger |
getLoggerForShortName | public static Logger getLoggerForShortName(String category)(Code) | | |
initializeLogging | public static void initializeLogging(Properties properties)(Code) | | Initialise the logging system from the Jmeter properties. Logkit loggers
inherit from their parents.
Normally the jmeter properties file defines a single log file, so set
this as the default from "log_file", default "jmeter.log" The default
priority is set from "log_level", with a default of INFO
|
setLoggingLevels | public static void setLoggingLevels(Properties appProperties)(Code) | | Handle LOG_PRIORITY.category=priority and LOG_FILE.category=file_name
properties. If the prefix is detected, then remove it to get the
category.
|
setPriority | public static void setPriority(Priority p, String category)(Code) | | |
setPriority | public static void setPriority(Priority p)(Code) | | |
setPriorityFullName | public static void setPriorityFullName(String p, String fullName)(Code) | | Parameters: p - - priority, e.g. DEBUG, INFO Parameters: fullName - - e.g. org.apache.jmeter.etc |
setTarget | public static void setTarget(LogTarget target, String category)(Code) | | |
setTarget | public static void setTarget(Writer targetFile)(Code) | | Sets the default log target from the parameter. The existing target is
first closed if necessary.
Parameters: targetFile - (Writer) |
|
|