Rotate graylogs own logs log4j #1042
Comments
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. |
Thank you very much for you support! |
Hello, regarding http://docs.graylog.org/en/1.0/pages/installation.html#supplying-external-logging-configuration I configured graylog start script with
LOG4J=${LOG4J:=-Dlog4j.configuration=file:///tmp/log4j.xml}
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?
The text was updated successfully, but these errors were encountered: