Missing handlers on tomcat server


#1

Hello,
i'm trying to parse some tomcat logs but i'm getting the following errors:

io/console not supported; tty will not be manipulated
Can't load log handler "1catalina.org.apache.juli.FileHandler"
java.lang.ClassNotFoundException: 1catalina.org.apache.juli.FileHandler
.....
Can't load log handler "2localhost.org.apache.juli.FileHandler"
java.lang.ClassNotFoundException: 2localhost.org.apache.juli.FileHandler
java.lang.ClassNotFoundException: 2localhost.org.apache.juli.FileHandler
.....
Can't load log handler "3manager.org.apache.juli.FileHandler"
java.lang.ClassNotFoundException: 3manager.org.apache.juli.FileHandler
java.lang.ClassNotFoundException: 3manager.org.apache.juli.FileHandler
...
Can't load log handler "4host-manager.org.apache.juli.FileHandler"
java.lang.ClassNotFoundException: 4host-manager.org.apache.juli.FileHandler
java.lang.ClassNotFoundException: 4host-manager.org.apache.juli.FileHandler

Can someone propose a way to fix this?
Thanks in advance,
Fotis


(Magnus B├Ąck) #2

Where are you getting these errors? What does your Logstash configuration look like?


#3

Hi Magnus,
I managed to fix the issue.
As it seems, I was using a very old version of logstash (2.3.2).
I used the newest one and the issue was fixed!


(system) #4

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