for weewx 4, i would like to request a couple of lines be added to the daemon 
config on mac osx, to cause stderr to be captured in a file (those lousy hidden 
exceptions).
this file is presently (3.9.2) made available under 
util/launchd/com.weewx.weewxd.plist.
i use the modified version below:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.weewx.weewxd</string>
    <key>Disabled</key>
    <false/>
    <key>RunAtLoad</key>
    <true/>
    <key>ProgramArguments</key>
    <array>
        <string>/opt/weewx/bin/weewxd</string>
        <string>/opt/weewx/weewx.conf</string>
    </array>
    <key>StandardErrorPath</key>
    <string>/opt/weewx/var/run.stderr</string>
</dict>
</plist>

i also applaud the use of python’s logging package, given that syslog is 
completely useless on mac osx. i have been using logging package in my own 
python code for a while

cheers
____________
Graham Eddy

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/3F693679-8F07-416F-8B44-7270B374060B%40gmail.com.

Reply via email to