bug #7085
Updated by Andreas Kohlbecker over 5 years ago
cdmserver logfiles getting too big, use DailyRollingFileAppender
Keeping 7 daily logs should be sufficient since all logs are also preserved in the backupserver
Also delete all /var/log/cdmserver/out.log files once this is released.
see https://github.com/GoogleCloudPlatform/appengine-java-vm-runtime/issues/231
Configuring the logging consistently for the cdm-server and for all instances is complicated by the fact that the instances are running separately from the cdm-server in an own thread with own classloader for each instance. Therefore the root logger configured for the cdm-server is not being used by the instances.
**TODO**
* Setup the logging for the cdm-server so that the server and all instances are using the same DailyRollingFileAppender and logfile.
* remove FileAppenders configured in /opt/cdmserver/.cdmLibrary/log4j.properties of edit-test, edit-prod, edit-int, edit-demo-*, edit-jobber-1
* consiser using log4j2, see #7821