6.6 Configuring Debug Logging

If OWCIMOMD is run in debug mode, then the debug log is active with the following settings:

6.6.1 Debug Log with Color

If you want a color version of the debug log, use the following ASCII escape codes:

log.debug.format = \x1b[1;37;40m[\x1b[1;31;40m%-.6t\x1b[1;37;40m]\x1b[1;32;40m %m\x1b[0;37;40m

If you want to use additional colors, use the following codes with the log.debug.format command:

Table 6-4 Additional Color Codes for the log.debug.format Command

Color

Codes

red

\x1b[1;31;40m

dark red

\x1b[0;31;40m

green

\x1b[1;32;40m

dark green

\x1b[0;32;40m

yellow

\x1b[1;33;40m

dark yellow

\x1b[0;33;40m

blue

\x1b[1;34;40m

dark blue

\x1b[0;34;40m

purple

\x1b[1;35;40m

dark purple

\x1b[0;35;40m

cyan

\x1b[1;36;40m

dark cyan

\x1b[0;36;40m

white

\x1b[1;37;40m

dark white

\x1b[0;37;40m

gray

\x1b[0;37;40m

reset color

\x1b[0;37;40m