Skip to content

Commit 52d9f51

Browse files
committed
journal: bump default log level for stream() to INFO
By default debug messages are ignored, and INFO should be used for "normal" messages.
1 parent aabbf9b commit 52d9f51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

systemd/journal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ def send(MESSAGE, MESSAGE_ID=None,
446446
args.extend(_make_line(key, val) for key, val in kwargs.items())
447447
return sendv(*args)
448448

449-
def stream(identifier, priority=LOG_DEBUG, level_prefix=False):
449+
def stream(identifier, priority=LOG_INFO, level_prefix=False):
450450
r"""Return a file object wrapping a stream to journal.
451451
452452
Log messages written to this file as simple newline sepearted text strings

0 commit comments

Comments
 (0)