It is hard to answer why your journal is stopping.
First check the space on your hard drive to see if it is full.
Then write a test file in which the thread polls a registration message of type INFO every second. Then you can check if this is a space or memory problem.
Please note: when the program waits somewhere and not a single thread or action is working, you will not see any registration messages. Please check, by debugging, whether a line of code is executed in a loop (or as you expected to see messages) in which a registration message should be displayed.
This is an example of my log4j properties file. Maybe this is useful:
log4j.rootLogger=INFO, stdout, logfile log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d %p (%t) [%c] - %m%n log4j.appender.logfile=org.apache.log4j.RollingFileAppender log4j.appender.logfile.File=C:/log/client.log log4j.appender.logfile.MaxFileSize=5MB log4j.appender.logfile.MaxBackupIndex=0 log4j.appender.logfile.layout=org.apache.log4j.PatternLayout log4j.appender.logfile.layout.ConversionPattern=%d %p [%c] - %m%n
Markus lausberg
source share