]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Add support for CUPS debug printfs in the scheduler on Mac OS X.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Wed, 20 Apr 2011 14:11:14 +0000 (14:11 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Wed, 20 Apr 2011 14:11:14 +0000 (14:11 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@9699 7a7537e8-13f0-0310-91df-b6672ffda945

scheduler/org.cups.cupsd.plist

index 97c4208e1daa04b8db28e0f3767683d6c1720d39..07beca636c2facaa5bda9e24c9ab6c9cd2c7a125 100644 (file)
                <string>/usr/sbin/cupsd</string>
                <string>-l</string>
        </array>
+       <!-- These environment variables are only used when CUPS is compiled
+            with --enable-debug-printfs -->
+       <key>EnvironmentVariables</key>
+       <dict>
+               <key>CUPS_DEBUG_LOG</key>
+               <string>/var/log/cups/debug_log</string>
+               <key>CUPS_DEBUG_LEVEL</key>
+               <string>4</string>
+               <key>CUPS_DEBUG_FILTER</key>
+               <string>^(http|_http|ipp|_ipp|mime).*</string>
+       </dict>
        <key>ServiceIPC</key>
        <true/>
        <key>Sockets</key>