Hi,
During druid.io work I found out that log files which located in /druid_dir/var/sv/ takes gigabytes of space.
To fix this problem I want to set log level to ERROR
I put in common.runtime.properties
druid.emitter.logging.logLevel=error
and in log4j2.xml:
Configuration status="ERROR"
but .log files still grow to huge sizes (and includes INFO messages).
What else should be added to the config?
Thanks!
--
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+unsubscribe@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/f14d7042-4626-40fe-9c18-b13449e65e3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<?xml version="1.0" encoding="UTF-8" ?>
<Configuration status="ERROR">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{ISO8601} %p [%t] %c - %m%n"/>
</Console>
</Appenders>
<Loggers>
<Root level="info">
<AppenderRef ref="Console"/>
</Root>
</Loggers>
</Configuration>The root logger level in log4j2.xml is the one you want to modify. You can also periodically truncate the log files to manage their sizes.
Gian
On Mon, Aug 14, 2017 at 9:15 AM, Ilya <i.v.b...@gmail.com> wrote:
Hi,
During druid.io work I found out that log files which located in
/druid_dir/var/sv/takes gigabytes of space.
To fix this problem I want to set log level to
ERROR
I put in common.runtime.properties
druid.emitter.logging.logLevel=error
and in log4j2.xml:
Configuration status="ERROR"
but .log files still grow to huge sizes (and includes INFO messages).
What else should be added to the config?
Thanks!
--
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+unsubscribe@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/72e3f853-5f1b-473b-a23c-e61c9e42edc3%40googlegroups.com.
Gian
<?xml version="1.0" encoding="UTF-8" ?>
<Configuration status="ERROR">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{ISO8601} %p [%t] %c - %m%n"/>
</Console>
</Appenders>
<Loggers>
<Root level="error">
<AppenderRef ref="Console"/>
</Root>
</Loggers>
</Configuration>Gian