On Jun 15, 2011, at 2:25 AM, Lisana Berberi wrote: > hello, > i have a calenderserver version -2.4 from apple running on a linux squeeze > box.. > > i'm having a problem with the rotation of error/access log files.. > > -rw------- 1 root root 511052 Jun 15 11:19 access.log > -rw------- 1 root root 1007549 Jun 11 00:01 access.log.2011_6_10 > -rw------- 1 root root 543113 Jun 12 00:00 access.log.2011_6_11 > -rw------- 1 root root 508931 Jun 13 00:00 access.log.2011_6_12 > -rw------- 1 root root 848492 Jun 14 00:00 access.log.2011_6_13 > -rw------- 1 root root 1367076 Jun 15 00:00 access.log.2011_6_14 > -rw------- 1 root root 1234393 Jun 10 00:00 access.log.2011_6_9 > -rwxrwxrwx 1 root root 518590 Jun 15 11:19 error.log > -rwxrwxrwx 1 root root 1000108 Jun 15 11:08 error.log.1 > -rwxrwxrwx 1 root root 1000079 Jun 15 10:46 error.log.2 > ................................................................................ > and in a short time they reached a maximum size, i've this conf on > caldavd.plist file: > > <!-- Apache-style access log --> > <key>AccessLogFile</key> > <string>/var/log/caldavd/access.log</string> > <key>RotateAccessLog</key> > <true/> > > <!-- Server activity log --> > <key>ErrorLogFile</key> > <string>/var/log/caldavd/error.log</string> > > can u pls give me some suggestion of what to do, i tried rotateaccesslog > false and still the same problem.. > > > thnx, > lisa > >
What do you have for "LogLevel" setting in caldavd.plist? "debug" is a very verbose level. Try "warn", and that should keep your error.logs from growing quickly. As for your access.logs, is your server very busy? :-)
_______________________________________________ calendarserver-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-dev
