Skip to content

Commit 3949b46

Browse files
add javadoc to the custom logging config method
1 parent d9fd39d commit 3949b46

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

core/src/main/java/oracle/weblogic/deploy/logging/WLSDeployLoggingConfig.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,15 @@ public static String getConsoleHandler() {
160160
return WLSDEPLOY_CONSOLE_HANDLER;
161161
}
162162

163+
/**
164+
* To augment the logging properties with custom properties, extend this class and overwrite this method.
165+
* The method should add applicable properties to the logProps. These properties will be loaded into the LogManager
166+
* and available to Logger instances. Do not instantiate Loggers in this class as the reload will reset the
167+
* Loggers.
168+
*
169+
* @param programName the name of the tool running, useful for messages.
170+
* @param logProps property instance to which to add log properties in string format, key=value
171+
*/
163172
public void customizeLoggingProperties(String programName, Properties logProps) {
164173
// override to customize
165174
}

0 commit comments

Comments
 (0)