diff --git a/example.py b/example.py index 83662f416..1a582bbea 100644 --- a/example.py +++ b/example.py @@ -1,12 +1,12 @@ import logging -from oqubeslogging import OQubesLog +from securedrop_log import SecureDropLog import ex2 import ex1 def main(): - handler = OQubesLog("workvm", "logging") + handler = SecureDropLog("workvm", "logging") logging.basicConfig(level=logging.DEBUG, handlers=[handler]) logger = logging.getLogger("example") diff --git a/journal-example.py b/journal-example.py index fa468cb10..903412af9 100644 --- a/journal-example.py +++ b/journal-example.py @@ -1,11 +1,11 @@ import logging -from oqubeslogging import OQubesLog +from securedrop_log import SecureDropLog from systemd import journal import select def main(): - handler = OQubesLog("workvm", "logging") + handler = SecureDropLog("workvm", "logging") logging.basicConfig(level=logging.DEBUG, handlers=[handler]) logger = logging.getLogger("example") j = journal.Reader()