Skip to content

Commit

Permalink
Merge pull request #157 from ael-code/archivant_log
Browse files Browse the repository at this point in the history
logs: use json.dumps to log archivant configs
  • Loading branch information
boyska committed Jun 10, 2015
2 parents 6b37452 + 62a1169 commit f1370c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion archivant/archivant.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from fsdb.hashtools import calc_file_digest, calc_digest
from copy import deepcopy
from urlparse import urlparse
from json import dumps

from libreantdb import DB
from exceptions import NotFoundException
Expand Down Expand Up @@ -33,7 +34,7 @@ def __init__(self, conf={}):
}
defaults.update(conf)
self._config = defaults
log.debug('initializing with this config: ' + str(self._config))
log.debug('initializing with this config: ' + dumps(self._config))

# initialize fsdb
if not self._config['FSDB_PATH']:
Expand Down

0 comments on commit f1370c6

Please sign in to comment.