On 08.11.2013, at 00:15, Andre LaBranche <[email protected]> wrote:
> You can integrate this with launchd as well; just make sure to not pass the
> -d option with run. One side effect of using run without -d is that no
> separate error.log is written; instead all that content goes to stdout. To
> get a separate error.log file, define StandardOutPath and StandardErrorPath
> in your launchd plist, with the desired path to the log file.
Just to let you know: CalendarServer launched via launchd is running for a
couple of days now on my MBP. Seems to be running smoothly. Every now and then
I notice an error in the logs:
2013-11-11 20:46:49+0100 [-] [caldav-1] [-] Unhandled Error
2013-11-11 20:46:49+0100 [-] [caldav-1] Traceback (most recent call
last):
2013-11-11 20:46:49+0100 [-] [caldav-1] File
"/Users/Admin/Applications/CalendarServer/Twisted-12.3.0/build/lib.macosx-10.8-intel-2.7/twisted/application/app.py",
line 402, in startReactor
2013-11-11 20:46:49+0100 [-] [caldav-1] self.config, oldstdout,
oldstderr, self.profiler, reactor)
2013-11-11 20:46:49+0100 [-] [caldav-1] File
"/Users/Admin/Applications/CalendarServer/Twisted-12.3.0/build/lib.macosx-10.8-intel-2.7/twisted/application/app.py",
line 323, in runReactorWithLogging
2013-11-11 20:46:49+0100 [-] [caldav-1] reactor.run()
2013-11-11 20:46:49+0100 [-] [caldav-1] File
"/Users/Admin/Applications/CalendarServer/Twisted-12.3.0/build/lib.macosx-10.8-intel-2.7/twisted/internet/base.py",
line 1173, in run
2013-11-11 20:46:49+0100 [-] [caldav-1] self.mainLoop()
2013-11-11 20:46:49+0100 [-] [caldav-1] File
"/Users/Admin/Applications/CalendarServer/Twisted-12.3.0/build/lib.macosx-10.8-intel-2.7/twisted/internet/base.py",
line 1182, in mainLoop
2013-11-11 20:46:49+0100 [-] [caldav-1] self.runUntilCurrent()
2013-11-11 20:46:49+0100 [-] [caldav-1] --- <exception caught here> ---
2013-11-11 20:46:49+0100 [-] [caldav-1] File
"/Users/Admin/Applications/CalendarServer/Twisted-12.3.0/build/lib.macosx-10.8-intel-2.7/twisted/internet/base.py",
line 805, in runUntilCurrent
2013-11-11 20:46:49+0100 [-] [caldav-1] call.func(*call.args,
**call.kw)
2013-11-11 20:46:49+0100 [-] [caldav-1] File
"/Users/Admin/Applications/CalendarServer/CalendarServer-5.0/twext/web2/channel/http.py",
line 851, in _startNextRequest
2013-11-11 20:46:49+0100 [-] [caldav-1] self.resumeProducing()
2013-11-11 20:46:49+0100 [-] [caldav-1] File
"/Users/Admin/Applications/CalendarServer/Twisted-12.3.0/build/lib.macosx-10.8-intel-2.7/twisted/protocols/basic.py",
line 508, in resumeProducing
2013-11-11 20:46:49+0100 [-] [caldav-1]
self.transport.resumeProducing()
2013-11-11 20:46:49+0100 [-] [caldav-1] File
"/Users/Admin/Applications/CalendarServer/Twisted-12.3.0/build/lib.macosx-10.8-intel-2.7/twisted/internet/abstract.py",
line 460, in resumeProducing
2013-11-11 20:46:49+0100 [-] [caldav-1] assert self.connected and
not self.disconnecting
2013-11-11 20:46:49+0100 [-] [caldav-1] exceptions.AssertionError:
The error does not seem to affect normal operation. I have not observed strange
behavior or data loss in Calendar or Contacts.
Best,
Bernhard
_______________________________________________
calendarserver-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/calendarserver-users