On 10/28/2011 12:31 PM, matthiasdort wrote:
> i have tried to rotate the logfile /var/log/djigzo.log. In the result the new
> touched logfie will not be write by the gateway anymore. The problem could
> not be solved with booting the system.
/var/log/djigzo.log is only a symlink to
/usr/share/djigzo/logs/james.wrapper.log so log rotating wouldn't work.
you can try to restore the symlink:
ln -s /usr/local/djigzo/logs/james.wrapper.log /var/log/djigzo.log
The logs are written using Log4J (a Java library) and not using the
system loggers.
> Independent from this, is there any way to purge or rotate the logs via the
> webinterface? I suppose, that the log info will be stored into the postgres
> database? Over the time the logs will be bigger and bigger..
The log files are automatically rotated. By default max 5 log files of
10MB each will be created. If you want more or less log files and/or the
size of the log file should be larger/smaller, you can edit the config file:
/usr/share/djigzo/conf/james/SAR-INF/environment.xml
see part:
<rotation type="revolving" init="0" max="5">
<size>10485760</size>
</rotation>
Kind regards,
Martijn Brinkers
--
Djigzo open source email encryption
_______________________________________________
Users mailing list
[email protected]
http://lists.djigzo.com/lists/listinfo/users