 Apache Karaf Container 4.x - Documentationeach log level is displayed with a different color: ERROR/FATAL are in red, DEBUG in purple, INFO in cyan, etc. You can disable the coloring using the --no-color option. karaf@root()> log:display -n 5 2015-07-01 config-add-to-list = { config:edit $1 ; a = (config:property-list | grep --color never $2 | tac) ; b = (echo $a | grep --color never "\b$3\b" | tac) ; if { ($b trim) isEmpty } { if { $a isEmpty } { config:property-set file is an extended description of the bundle. It supports ASCII character declarations (for adding color, formatting, etc) and some simple Wiki syntax. Simply add a src/main/resources/OSGI-INF/bundle.info0 码力 | 370 页 | 1.03 MB | 1 年前3 Apache Karaf Container 4.x - Documentationeach log level is displayed with a different color: ERROR/FATAL are in red, DEBUG in purple, INFO in cyan, etc. You can disable the coloring using the --no-color option. karaf@root()> log:display -n 5 2015-07-01 config-add-to-list = { config:edit $1 ; a = (config:property-list | grep --color never $2 | tac) ; b = (echo $a | grep --color never "\b$3\b" | tac) ; if { ($b trim) isEmpty } { if { $a isEmpty } { config:property-set file is an extended description of the bundle. It supports ASCII character declarations (for adding color, formatting, etc) and some simple Wiki syntax. Simply add a src/main/resources/OSGI-INF/bundle.info0 码力 | 370 页 | 1.03 MB | 1 年前3
 Apache Karaf 3.0.5 Guidesconfig-add-to-list = { config:edit $1 ; a = (config:property-list | grep --color never $2 | tac) ; b = (echo $a | grep --color never "\b$3\b" | tac) ; if { ($b trim) isEmpty } { if { $a isEmpty } { config:property-set file is extended description of the bundle. It supports ASCII character declarations (for adding color, formatting, etc) and some simple Wiki syntax. Simply add a src/main/resources/OSGI-INF/bundle.info0 码力 | 203 页 | 534.36 KB | 1 年前3 Apache Karaf 3.0.5 Guidesconfig-add-to-list = { config:edit $1 ; a = (config:property-list | grep --color never $2 | tac) ; b = (echo $a | grep --color never "\b$3\b" | tac) ; if { ($b trim) isEmpty } { if { $a isEmpty } { config:property-set file is extended description of the bundle. It supports ASCII character declarations (for adding color, formatting, etc) and some simple Wiki syntax. Simply add a src/main/resources/OSGI-INF/bundle.info0 码力 | 203 页 | 534.36 KB | 1 年前3
共 2 条
- 1













