Hi Marc, I had the same issue and found out they are using "DailyRollingFileAppender". My fix was to use "DailyRollingFileAppender". You can see the full file I am using here: https://github.com/foilen/foilen-infra-plugins-core/blob/master/src/main/resources/com/foilen/infra/resource/email/james/log4j.properties
HTH On Sat, 26 Jan 2019 at 00:41, Marc Chamberlin <m...@marcchamberlin.com> wrote: > I have noticed that most of the log files for Apache James 3.2 do not > seem to be getting any log messages after running the server for awhile - > > bigbang:/mail/apache-james-3.2/james-server-app-3.2.0/log # ll > total 248 > -rw-r--r-- 1 root root 0 Jan 25 20:30 dnsservice.log > -rw-r--r-- 1 root root 0 Jan 25 20:30 domainlist.log > -rw-r--r-- 1 james mail 0 Oct 31 09:41 .dummy > -rw-r--r-- 1 root root 0 Jan 25 20:30 fetchmail.log > -rw-r--r-- 1 root root 0 Jan 25 20:30 imapserver.log > -rw-r--r-- 1 root root 103794 Jan 25 21:19 james-server.log > -rw-r--r-- 1 root root 0 Jan 25 20:30 lmtpserver.log > -rw-r--r-- 1 root root 0 Jan 25 20:30 mailboxmanager.log > -rw-r--r-- 1 root root 0 Jan 25 20:30 mailetcontainer.log > -rw-r--r-- 1 root root 0 Jan 25 20:30 mailqueuefactory.log > -rw-r--r-- 1 root root 0 Jan 25 20:30 mailrepositorystore.log > -rw-r--r-- 1 root root 0 Jan 25 20:30 pop3server.log > -rw-r--r-- 1 root root 0 Jan 25 20:30 smtpserver.log > -rw-r--r-- 1 root root 0 Jan 25 20:30 usersrepository.log > -rw-r--r-- 1 root root 0 Jan 25 20:30 virtualusertable.log > -rw-r--r-- 1 root root 147065 Jan 25 21:19 wrapper.log > > The log4j.properties file is simply as it was installed. Looking through > it, it seems like I should be getting lots of info messages for each of > the main components, such as imapserver.log and smtpserver.log but nada. > I fooled around with log4j.properties a bit, by just adding DEBUG level > logging to the smtpserver.log and imapserver.log but no joy so I undid > those changes and restored the log4j.properties back to it's original > state. Any ideas why I am not getting log messages in the rest of these > log files? > > And where can I find more complete documentation about how to set the > properties in the log4j.properties file? What I have found so far does > not explain much. I am looking at - > https://james.apache.org/server/3/monitor-logging.html Thanks... Marc.. > > > -- > Linux Counter >