Skip to content
Permalink
Browse files

Default log level changed to warn.

  • Loading branch information...
wsanchez committed Nov 20, 2008
1 parent f8beaae commit 983b0554000c52259ff45c911adee0f2c07ea66f
Showing with 6 additions and 6 deletions.
  1. +6 −6 twistedcaldav/test/test_config.py
@@ -37,7 +37,7 @@
<integer>8008</integer>
<key>DefaultLogLevel</key>
<string>warn</string>
<string>info</string>
<key>LogLevels</key>
<dict>
<key>some.namespace</key>
@@ -245,16 +245,16 @@ def test_logging(self):
"""
Logging module configures properly.
"""
self.assertEquals(logLevelForNamespace(None), "info")
self.assertEquals(logLevelForNamespace("some.namespace"), "info")
self.assertEquals(logLevelForNamespace(None), "warn")
self.assertEquals(logLevelForNamespace("some.namespace"), "warn")

config.loadConfig(self.testConfig)

self.assertEquals(logLevelForNamespace(None), "warn")
self.assertEquals(logLevelForNamespace(None), "info")
self.assertEquals(logLevelForNamespace("some.namespace"), "debug")

writePlist({}, self.testConfig)
config.reload()

self.assertEquals(logLevelForNamespace(None), "info")
self.assertEquals(logLevelForNamespace("some.namespace"), "info")
self.assertEquals(logLevelForNamespace(None), "warn")
self.assertEquals(logLevelForNamespace("some.namespace"), "warn")

0 comments on commit 983b055

Please sign in to comment.
You can’t perform that action at this time.