Permalink
Browse files

Changing logging to the ckan standard

  • Loading branch information...
1 parent df9b8b9 commit f928f18793baa09e295c96253ba8f214fbf3b57f @nigelbabu nigelbabu committed Mar 26, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 ckanext/sa/commands.py
@@ -9,8 +9,8 @@
import ckan.model as model
from fetch_resource import download
-import logging as log
-log.basicConfig(filename='datastore_upload.log', level=log.DEBUG)
+import logging
+log = logging.getLogger()
TYPE_MAPPING = {
messytables.types.StringType: 'text',

0 comments on commit f928f18

Please sign in to comment.