diff options
author | Azul <azul@riseup.net> | 2014-01-03 15:28:49 +0100 |
---|---|---|
committer | Azul <azul@riseup.net> | 2014-01-03 15:28:49 +0100 |
commit | 638e6a83a923e61d8b320818a39befd62529ae1a (patch) | |
tree | b7f57d16c83ff50f9cb4403d5dcd999212d2ebaa /lib/tapicero_daemon.rb | |
parent | 2365ee92396dba077f01d50f34fa2203841bde9f (diff) |
make logging more precise
* do not log the SystemExit after the fork
* log error classes alongside messages
* unify logging in retry_request_once
* debug now logs every step
* info has one message per user created
* warn only logs errors during the actions
* error only logs crashes
Diffstat (limited to 'lib/tapicero_daemon.rb')
-rw-r--r-- | lib/tapicero_daemon.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tapicero_daemon.rb b/lib/tapicero_daemon.rb index 67eee88..2a43cae 100644 --- a/lib/tapicero_daemon.rb +++ b/lib/tapicero_daemon.rb @@ -16,6 +16,7 @@ module Tapicero db.create db.secure(config.options[:security]) db.add_design_docs + logger.info "Prepared storage for " + hash['id'] end users.deleted do |hash| |