summaryrefslogtreecommitdiffstats
path: root/users.py
diff options
context:
space:
mode:
Diffstat (limited to 'users.py')
-rw-r--r--users.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/users.py b/users.py
index 05d5a406c..26f572dbe 100644
--- a/users.py
+++ b/users.py
@@ -21,7 +21,8 @@ import os
import string
from flags import flags
-from rhpl.log import log
+import logging
+log = logging.getLogger("anaconda")
class Accounts:
def __repr__(self):
@@ -262,7 +263,7 @@ class Authentication:
searchPath = 1,
root = instPath)
else:
- log("Would have run %s", args)
+ log.error("Would have run %s", args)
except RuntimeError, msg:
- log ("Error running %s: %s", args, msg)
+ log.error("Error running %s: %s", args, msg)