Thanks for the reply. Our log is going to journald so I think it's compressed already.

On 28.6.2018 18:05, Dan Pritts wrote:
Not a direct answer, but it may help you to switch to hourly rotation instead of daily. Then you can compress the files hourly instead of daily.  As I'm sure you've noticed, they compress quite well.

I use the following in log4j.properties.

# http://www.codejava.net/coding/configure-log4j-for-creating-daily-rolling-log-files # also see https://github.com/epimorphics/sedgemoor-data/blob/master/package/fuseki-config/log4j.properties
log4j.rootLogger=INFO,FusekiFileLog
log4j.appender.FusekiFileLog=org.apache.log4j.DailyRollingFileAppender
log4j.appender.FusekiFileLog.File=/var/log/fuseki/fuseki.log
#log4j.appender.FusekiFileLog.DatePattern='.'yyyy-MM-dd
# -HH does an hourly rollover
log4j.appender.FusekiFileLog.DatePattern='.'yyyy-MM-dd-HH
log4j.appender.FusekiFileLog.layout=org.apache.log4j.PatternLayout
log4j.appender.FusekiFileLog.layout.ConversionPattern=[%d{yyyyMMdd-HH:mm:ss}] %-10c{1} %-5p %m%n





Mikael Pesonen wrote on 6/28/18 7:37 AM:

Hi,

we are having trouble with Fuseki log size. Easiest would be to switch to WARN level, but response times are quite usefull. So is it possible somehow to remove just the queries from INFO level?

Br


--
Dan Pritts
ICPSR Computing & Network Services
University of Michigan
<https://www.postbox-inc.com>

--
Lingsoft - 30 years of Leading Language Management

www.lingsoft.fi

Speech Applications - Language Management - Translation - Reader's and Writer's 
Tools - Text Tools - E-books and M-books

Mikael Pesonen
System Engineer

e-mail: [email protected]
Tel. +358 2 279 3300

Time zone: GMT+2

Helsinki Office
Eteläranta 10
FI-00130 Helsinki
FINLAND

Turku Office
Kauppiaskatu 5 A
FI-20100 Turku
FINLAND

Reply via email to