Fixup a comment, suppress logging during tests
- Commit 947470d77112a5ee0ab1a037d77104cdb25c18e5 rendered a comment inaccurate in syncserver/__init__.py. - Logging to stdout by default obscures test results; disable the stdout deluge by changing the logging class in syncserver/tests.ini
This commit is contained in:
parent
d349bdc76a
commit
8bec3e9702
@ -62,8 +62,7 @@ def includeme(config):
|
||||
settings["browserid.backend"] = "tokenserver.verifiers.RemoteVerifier"
|
||||
settings["browserid.audiences"] = public_url
|
||||
if "metlog.backend" not in settings:
|
||||
# Default to capturing metlog output in memory.
|
||||
# In other words, stop of from being so damn chatty on stdout.
|
||||
# Default to sending metlog output to stdout.
|
||||
settings["metlog.backend"] = "mozsvc.metrics.MetlogPlugin"
|
||||
settings["metlog.sender_class"] = "metlog.senders.StdOutSender"
|
||||
settings["metlog.enabled"] = True
|
||||
|
||||
@ -15,3 +15,9 @@ public_url = http://localhost:5000/
|
||||
|
||||
# This is a secret key used for signing authentication tokens.
|
||||
#secret = INSERT_SECRET_KEY_HERE
|
||||
|
||||
# Enable metlog during tests, but do not log normal traffic to stdout.
|
||||
[metlog]
|
||||
backend = "mozsvc.metrics.MetlogPlugin"
|
||||
sender_class = "metlog.senders.DebugCaptureSender"
|
||||
enabled = True
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user