Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Rotate graylogs own logs log4j #1042
Hello, regarding http://docs.graylog.org/en/1.0/pages/installation.html#supplying-external-logging-configuration I configured graylog start script with
After restarting graylog I get the following graylog error msg:
So, log4j doesn't find the needed classes (I think classes are located in graylog.jar). So how can I point log4j to this needed classes?
referenced this issue
Mar 6, 2015
Hello, thank you for you prompt answer.
Changing name for "org.apache.log4j.FixedWindowRollingPolicy" and "org.apache.log4j.SizeBasedTriggeringPolicy" doesn't work. I coud not find these classes in graylog.jar file...
The two RollingFileAppender classes are different versions, and thus take different parameters.
In the meantime you can follow the examples at http://www.tutorialspoint.com/log4j/log4j_logging_files.htm to configure the older rolling appender.