getLogger script operation
Returns a logger (loggers are in the system log directory with the given name).
Format: Procedural
Type: method
Syntax
Logger getLogger(String s)
Parameters
Type | Name | Description | Is required? | Is array? |
---|---|---|---|---|
String | s | A Logger name defined in the log4j2.xml ("com.ibm.ccd.wpc_user_scripting." is prepended automatically to "s"). Logger descriptions are stored in the corresponding log files as specified in the appender-ref in the logs4j2.xml file for respective Logger name. If the name is not present in the file, logs4j2.xml then by default, the logger descriptions are stored in the default.log file under respective service directory. | true | false |
Return values
Return value: Logger
Is array: false