stanbog commented on issue #3289:
URL: https://github.com/apache/bookkeeper/issues/3289#issuecomment-1306713583
Hello,
Is there any fix on this ?
We're running bookkeeper-4.15.2 and zookeeper-3.8.0 and both have the same
issue.
We cannot run the log level in any other way lower than DEBUG, it also
cannot write in a file, only via journalctl.
Is it a bug with this version ?
Thank you
```
<Configuration status="warn" monitorInterval="10">
<Properties>
<Property name="bookkeeper.log.dir">/var/log/bookkeeper</Property>
<Property name="bookkeeper.log.file">bookkeeper-server.log</Property>
<Property name="bookkeeper.log.root.level">INFO</Property>
<Property
name="bookkeeper.log.root.appender">CONSOLE,ROLLINGFILE</Property>
</Properties>
<Appenders>
<Console name="CONSOLE" target="SYSTEM_OUT">
<PatternLayout pattern="%d{ISO8601} - %-5p - [%t:%C{1}@%L] -
%m%n"/>
</Console>
<File name="TRACEFILE"
fileName="${sys:bookkeeper.log.dir}/bookkeeper-trace.log">
<PatternLayout pattern="%d{ISO8601} - %-5p [%t:%C{1}@%L][%ndc] -
%m%n"/>
</File>
<RollingFile name="ROLLINGFILE"
fileName="${sys:bookkeeper.log.dir}/${sys:bookkeeper.log.file}"
filePattern="${sys:bookkeeper.log.dir}/${sys:bookkeeper.log.file}%d{.yyyy-MM-dd}">
<PatternLayout pattern="%d{ISO8601} - %-5p [%t:%C{1}@%L] -
%m%n"/>
<Policies>
<TimeBasedTriggeringPolicy modulate="true"/>
</Policies>
<DefaultRolloverStrategy max="100"/>
</RollingFile>
</Appenders>
<Loggers>
<Root level="${sys:bookkeeper.log.root.level}">
<AppenderRef ref="${sys:bookkeeper.log.root.appender}"/>
</Root>
</Loggers>
</Configuration>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]