Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/creactistore/_templates/lib/olpcfr/tools/_logger.py
diff options
context:
space:
mode:
authorflorent <florent@toopy.org>2012-02-06 23:01:40 (GMT)
committer florent <florent@toopy.org>2012-02-06 23:01:40 (GMT)
commit197d0dd4a7c76d36e56c8e426f23dd4bbc301fdd (patch)
tree3d3ad9cc46d7ffc3760e950db0061c02cab16d8e /creactistore/_templates/lib/olpcfr/tools/_logger.py
parenta7d68ceb5bf576320df47e690205122ec6db8e4c (diff)
use more generic way to init creatistore project using buildout → need to work on the packaging issue now and update others templatesHEADmaster
Diffstat (limited to 'creactistore/_templates/lib/olpcfr/tools/_logger.py')
-rw-r--r--creactistore/_templates/lib/olpcfr/tools/_logger.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/creactistore/_templates/lib/olpcfr/tools/_logger.py b/creactistore/_templates/lib/olpcfr/tools/_logger.py
deleted file mode 100644
index f8bb9bd..0000000
--- a/creactistore/_templates/lib/olpcfr/tools/_logger.py
+++ /dev/null
@@ -1,10 +0,0 @@
-
-# flask logger
-from olpcfr.flask import app, APP_NAME
-if app:
- logger = app.logger
-# std logger
-else:
- import logging
- logger = logging.getLogger(APP_NAME)
- logger.setLevel(logging.DEBUG)