Apache Karaf Container 4.x - Documentation| Level -------------- ssh | INFO log4j.logger.my.logger = DEBUG karaf@root()> log:get ALL Logger | Level ----------------- ROOT | INFO my.logger | DEBUG karaf@root()> log:log "Hello World" defined the following loggers (in etc/org.ops4j.pax.logging.cfg file): You can change the level of my.logger.custom logger: karaf@root()> log:log -l ERROR "Hello World" karaf@root()> log:display 2015-07-01 karaf@root()> log:set INFO my.logger karaf@root()> log:get my.logger Logger | Level ----------------- my.logger | INFO rootLogger=INFO,out,osgi:* my.logger=INFO,appender1 my.logger.custom=DEBUG,appender20 码力 | 370 页 | 1.03 MB | 1 年前3
Apache Karaf Cave 3.x - DocumentationThe cave:repository-create command creates a new repository: A repository is identified by a name, my-repository in our example. Apache Karaf Cave creates the repository storage for you. If you want Karaf Cave create repositories by default # storage.location=cave karaf@root()> cave:repository-create my-repository karaf@root()> cave:repository-create -l /home/user/.m2/repository m2 By default, Apache Location -------------------------------------------------------------------- my-repository | /home/jbonofre/apache-karaf-3.0.1/cave/my-repository m2 | /home/jbonofre/.m2/repository karaf@root()>0 码力 | 18 页 | 101.41 KB | 1 年前3
Apache Karaf 3.0.5 Guidesinstance, you added my.config configuration: karaf@root()> config:edit my.config karaf@root()> config:property-set test test karaf@root()> config:update karaf@root()> config:list "(service.pid=my.config)" -- -------------------------------- Pid: my.config BundleLocation: null Properties: service.pid = my.config test = test You can delete the my.config configuration (including all properties in configuration) using the config:delete command: karaf@root()> config:delete my.config karaf@root()> config:list "(service.pid=my.config)" karaf@root()> JMX CONFIGMBEAN On the JMX layer, you have a MBean0 码力 | 203 页 | 534.36 KB | 1 年前3
Apache Karaf Cave 4.x - DocumentationThe cave:repository-create command creates a new repository: A repository is identified by a name, my-repository in our example. Apache Karaf Cave creates the repository storage for you. If you want Cave create repositories by default # cave.storage.location=cave karaf@root()> cave:repository-create my-repository karaf@root()> cave:repository-create -l /home/user/.m2/repository m2 By default, Apache ---------------------------------------------------------------- my-repository | /opt/apache-karaf-4.0.0/data/cave/my-repository karaf@root()> cave:repository-upload my-repository file:/home/user/.m2/repository/org/0 码力 | 11 页 | 88.13 KB | 1 年前3
Apache Karaf Cellar 4.x - Documentationmy-access-key my-secret-key us-west-1 cluster:config-property-set default my.config my.property my.value karaf@node1()> cluster:config-property-delete default my.config my.property karaf@node1()> cluster:config-delete default my.config The config listener storing your web session objects --> 3map-name my-sessions
Apache Karaf Cellar 3.x Documentation
0 码力 |
34 页 |
157.07 KB
| 1 年前
3
Apache Karaf Decanter 2.x - Documentation
is an ID of your choice. Apache Karaf Decanter 2.x - Documentation - 3 This file contains: type=my path=/path/to/file any=value • type is an ID (mandatory) that allows you to easily identify the monitored collector configuration file: type=karaf-log-file path=/path/to/karaf/data/log/karaf.log regex=(.*my.*) my=stuff The file collector will tail on karaf.log file, and send any new line matching the regex ‘etc/org.apache.karaf.decanter.collector.eventadmin-my.cfg’ configuration file, containing the EventAdmin topics you want to listen: event.topics=my/* By default, the events contain timestamp and
0 码力 |
64 页 |
812.01 KB
| 1 年前
3
Apache Karaf Decanter 1.x - Documentation
karaf@root()> feature:install decanter-collector-file type=my path=/path/to/file any=value type=karaf-log-file path=/path/to/karaf/data/log/karaf.log my=stuff The decanter-collector-eventadmin feature installs specify additional events to trap by providing a ‘etc/ org.apache.karaf.decanter.collector.eventadmin-my.cfg’ configuration file, containing the EventAdmin topics you want to listen: NOTE By default, the configuration file containing: karaf@root()> feature:install decanter-collector-eventadmin event.topics=my/* org.apache.felix.eventadmin.AddTimestamp=true org.apache.felix.eventadmin.AddSubject=true karaf@root()>
0 码力 |
67 页 |
213.16 KB
| 1 年前
3
共 8 条
- 1













