File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ handlers=java.util.logging.ConsoleHandler
16
16
#
17
17
18
18
com.oracle.weblogic.imagetool.level =INFO
19
+ # com.oracle.weblogic.imagetool.level=FINER
19
20
20
21
#
21
22
# Change log file location and handlers logging level as needed. Note the default level for FileHandler is OFF
Original file line number Diff line number Diff line change 1
1
# Logging
2
2
3
- In some circumstances, it may be helpful to turn on debugging to reveal more information.
3
+ The Image Tool uses standard Java logging. To alter the default logging settings, you can modify the ` logging.properties `
4
+ file under the ``` bin ``` directory where you installed the Image Tool.
4
5
5
- The Image Tool uses the standard ` logging.properties ` file under the tool's ``` bin ``` directory.
6
+ ### To enable debug logging
7
+ In ` logging.properties ` , comment the existing ` handlers ` property and uncomment the ` handlers ` line below the first that
8
+ contains the FileHandler.
9
+ ``` properties
10
+ # handlers=java.util.logging.ConsoleHandler
11
+ handlers =java.util.logging.FileHandler, java.util.logging.ConsoleHandler
12
+ ```
13
+ Then, change the Level to ` FINE ` or ` FINER ` .
14
+ ``` properties
15
+ # com.oracle.weblogic.imagetool.level=INFO
16
+ com.oracle.weblogic.imagetool.level =FINER
17
+ ```
18
+
19
+ Logging levels from highest to lowest:
20
+
21
+ | Level | Description |
22
+ | --- | --- |
23
+ | ` SEVERE ` | Only error messages will be written to the log file. |
24
+ | ` WARNING ` | Warning messages and above will be written to the log file. |
25
+ | ` INFO ` | (Default) Informational messages and above will be written to the log file. |
26
+ | ` FINE ` | First level of debug messages and above are written to the log file. |
27
+ | ` FINER ` | Detailed debug messages and above are written to the log file. |
28
+ | ` FINEST ` | All HTTP responses in addition to ` FINER ` level debug messages are written to the log file. |
6
29
7
30
### Copyright
8
31
Copyright (c) 2019, 2020, Oracle and/or its affiliates.
You can’t perform that action at this time.
0 commit comments