[CalendarServer-changes] [2379]
CalendarServer/branches/users/wsanchez/logging
source_changes at macosforge.org
source_changes at macosforge.org
Wed May 7 12:59:09 PDT 2008
Revision: 2379
http://trac.macosforge.org/projects/calendarserver/changeset/2379
Author: wsanchez at apple.com
Date: 2008-05-07 12:59:08 -0700 (Wed, 07 May 2008)
Log Message:
-----------
Get rid of Verbose option.
Modified Paths:
--------------
CalendarServer/branches/users/wsanchez/logging/conf/caldavd-test.plist
CalendarServer/branches/users/wsanchez/logging/conf/caldavd.plist
CalendarServer/branches/users/wsanchez/logging/twistedcaldav/config.py
CalendarServer/branches/users/wsanchez/logging/twistedcaldav/test/test_config.py
Modified: CalendarServer/branches/users/wsanchez/logging/conf/caldavd-test.plist
===================================================================
--- CalendarServer/branches/users/wsanchez/logging/conf/caldavd-test.plist 2008-05-07 18:19:27 UTC (rev 2378)
+++ CalendarServer/branches/users/wsanchez/logging/conf/caldavd-test.plist 2008-05-07 19:59:08 UTC (rev 2379)
@@ -237,9 +237,6 @@
Logging
-->
- <key>Verbose</key>
- <false/>
-
<!-- Apache-style access log -->
<key>AccessLogFile</key>
<string>logs/access.log</string>
Modified: CalendarServer/branches/users/wsanchez/logging/conf/caldavd.plist
===================================================================
--- CalendarServer/branches/users/wsanchez/logging/conf/caldavd.plist 2008-05-07 18:19:27 UTC (rev 2378)
+++ CalendarServer/branches/users/wsanchez/logging/conf/caldavd.plist 2008-05-07 19:59:08 UTC (rev 2379)
@@ -189,9 +189,6 @@
Logging
-->
- <key>Verbose</key>
- <false/>
-
<!-- Apache-style access log -->
<key>AccessLogFile</key>
<string>/var/log/caldavd/access.log</string>
Modified: CalendarServer/branches/users/wsanchez/logging/twistedcaldav/config.py
===================================================================
--- CalendarServer/branches/users/wsanchez/logging/twistedcaldav/config.py 2008-05-07 18:19:27 UTC (rev 2378)
+++ CalendarServer/branches/users/wsanchez/logging/twistedcaldav/config.py 2008-05-07 19:59:08 UTC (rev 2379)
@@ -107,7 +107,6 @@
#
# Logging
#
- "Verbose": False,
"AccessLogFile" : "/var/log/caldavd/access.log", # Apache-style access log
"ErrorLogFile" : "/var/log/caldavd/error.log", # Server activity log
"ServerStatsFile": "/var/run/caldavd/stats.plist",
Modified: CalendarServer/branches/users/wsanchez/logging/twistedcaldav/test/test_config.py
===================================================================
--- CalendarServer/branches/users/wsanchez/logging/twistedcaldav/test/test_config.py 2008-05-07 18:19:27 UTC (rev 2378)
+++ CalendarServer/branches/users/wsanchez/logging/twistedcaldav/test/test_config.py 2008-05-07 19:59:08 UTC (rev 2379)
@@ -26,7 +26,7 @@
<plist version="1.0">
<dict>
- <key>Verbose</key>
+ <key>ResponseCompression</key>
<true/>
<key>HTTPPort</key>
@@ -44,9 +44,9 @@
</plist>
"""
-def _testVerbose(testCase):
+def _testResponseCompression(testCase):
from twistedcaldav.config import config
- testCase.assertEquals(config.Verbose, True)
+ testCase.assertEquals(config.ResponseCompression, True)
class ConfigTests(unittest.TestCase):
@@ -65,20 +65,20 @@
self.assertEquals(getattr(config, key), value)
def testLoadConfig(self):
- self.assertEquals(config.Verbose, False)
+ self.assertEquals(config.ResponseCompression, False)
config.loadConfig(self.testConfig)
- self.assertEquals(config.Verbose, True)
+ self.assertEquals(config.ResponseCompression, True)
def testScoping(self):
- self.assertEquals(config.Verbose, False)
+ self.assertEquals(config.ResponseCompression, False)
config.loadConfig(self.testConfig)
- self.assertEquals(config.Verbose, True)
+ self.assertEquals(config.ResponseCompression, True)
- _testVerbose(self)
+ _testResponseCompression(self)
def testReloading(self):
self.assertEquals(config.HTTPPort, 0)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080507/47202a36/attachment-0001.html
More information about the calendarserver-changes
mailing list