Filebeat, Logback can not create new file

(Silb78) #1

I have a logback logger who writes in 10 MB files:

	<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">

	<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">

my filebeat config:

- input_type: log

- /opt/xxx/tmp/logs/test.log

now the problem is, logback can't create a new log file.

(ruflin) #2

Can you share some more details? What do you mean by logback can't create a new log file? Which is your OS?

(Silb78) #3

normally when the log file reachs the size of 10 MB, logback put the file in an archive and then create a new log-file.
but now logback doesn't create a new file.

(ruflin) #4

Do you see any errors from logback?

I have seen something similar on Windows in the past but it seems like you are on a Linux system.

(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.