summaryrefslogtreecommitdiff
path: root/oslo_log/handlers.py
diff options
context:
space:
mode:
Diffstat (limited to 'oslo_log/handlers.py')
-rw-r--r--oslo_log/handlers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_log/handlers.py b/oslo_log/handlers.py
index 1ed4e0c..4f4f054 100644
--- a/oslo_log/handlers.py
+++ b/oslo_log/handlers.py
@@ -82,7 +82,7 @@ class OSJournalHandler(logging.Handler):
'request_id',
)
- def __init__(self, facility):
+ def __init__(self, facility=None):
if not journal:
raise RuntimeError("Systemd bindings do not exist")