projects
/
jamaendo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A thousand cuts..
[jamaendo]
/
jamaui
/
__init__.py
diff --git
a/jamaui/__init__.py
b/jamaui/__init__.py
index
2707976
..
7e847ff
100644
(file)
--- a/
jamaui/__init__.py
+++ b/
jamaui/__init__.py
@@
-23,5
+23,9
@@
#
import logging
#
import logging
+import sys
-logging.basicConfig(level=logging.DEBUG, format="%(name)-15s: [%(lineno)4d] %(levelname)-8s %(message)s")
+LOG_FILENAME = '/tmp/jamaendo.log'
+LOG_LEVEL = logging.INFO
+
+logging.basicConfig(filename=LOG_FILENAME,level=LOG_LEVEL, format="%(name)-15s: [%(lineno)4d] %(levelname)-8s %(message)s")