-
Feature
-
Resolution: Won't Do
-
Major
-
None
-
fuse-7.0.1
-
0
-
0%
-
-
Todo
Customer is using following log configuration
( org.ops4j.pax.logging.cfg )
log4j2.appender.foo.type = Routing log4j2.appender.foo.name = MySiftingAppender log4j2.appender.foo.routes.type = Routes log4j2.appender.foo.routes.pattern = $\\{ctx:bundle.name} log4j2.appender.foo.routes.bar.type = Route log4j2.appender.foo.routes.bar.appender.type = RollingRandomAccessFile log4j2.appender.foo.routes.bar.appender.name = RollingFile log4j2.appender.foo.routes.bar.appender.fileName = ${karaf.data}/log/sift-$\\{ctx:bundle.name}.log log4j2.appender.foo.routes.bar.appender.filePattern = ${karaf.data}/log/sift-$\\{ctx:bundle.name}-%i.log.gz log4j2.appender.foo.routes.bar.appender.append = true log4j2.appender.foo.routes.bar.appender.layout.type = PatternLayout log4j2.appender.foo.routes.bar.appender.layout.pattern = %d{DEFAULT} %-5.5p {%t} [%C.%M()] (%F:%L) [[%X]] : %m%n log4j2.appender.foo.routes.bar.appender.policies.type = Policies log4j2.appender.foo.routes.bar.appender.policies.size.type = SizeBasedTriggeringPolicy log4j2.appender.foo.routes.bar.appender.policies.size.size = 16MB log4j2.appender.foo.routes.bar.appender.strategy.type = DefaultRolloverStrategy log4j2.appender.foo.routes.bar.appender.strategy.max = 21 ... log4j2.rootLogger.appenderRef.Sift.ref = MySiftingAppender
As there are many log files generated, that are not of his interest, he wants a feature to filter the logs files produced by this configuration
- is related to
-
ENTESB-9834 Provide template SIFT logging configuration
- Closed