summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcommon/misc.py2
-rw-r--r--main.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/misc.py b/common/misc.py
index 1350a2a..e0df882 100755
--- a/common/misc.py
+++ b/common/misc.py
@@ -64,6 +64,6 @@ class HandleError:
def report(self):
# return the formatted result string to the user
- text = "%s, %s resulted in: %s" % (self.text, self.key, self.condition)
+ text = "%s. %s %s resulted in: %s" % (self.text, self.key, self.target, self.condition)
return text
diff --git a/main.py b/main.py
index 5f8f220..97a1110 100644
--- a/main.py
+++ b/main.py
@@ -176,7 +176,7 @@ if __name__ == '__main__':
args = parser.parse_args()
# logging
- logging.basicConfig(filename=args.logfile, level=logging.INFO, format='%(levelname)-8s %(message)s')
+ logging.basicConfig(filename=args.logfile, level=logging.INFO, format='%(levelname)s: %(asctime)s: %(message)s')
logger = logging.getLogger(__name__)
# configfile