Thank you for your quick response.
I could change the log directories as you told me! By the way, do you know how to
change the format of the log file name? (default is: admin.YYYY-MM-DD.log. change
this to admin.<SOMETHING>.log)
Also, it seems like daily log rotation is working.
I want to know how to change the rotation period (like weekly).
I am running it on Linux(CentOS 5.5).(Gatein-3.1.0-FINAL-tomcat)
However, there's no log rotation settings of 'logrotate' for tomcat or gatein. So I am wondering if
the rotation of gatein's log files are managed by log4j which gatein uses.(Unfortunatelly, I'm not
familier with log4j...)
If this is the case, I think there should be some configuration files somewhere in gatein directories,
and this is where my question comes from.
If my guess is not right, please let me know...
I was thinking more of the Tomcat log files and how you can use Linux's logrotate to rotate those files.
You can also configure the logging for the Gatein application - but that let's you configure the format/pattern of the log entries. Those settings are in /portal/WEB-INF/conf/common/logs-configuration.xml. But I don't think you can specify rotating in there.
Hope that helps!