summaryrefslogtreecommitdiff
path: root/lib/tapicero.rb
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2013-09-25 12:29:48 +0200
committerAzul <azul@riseup.net>2013-09-25 12:29:48 +0200
commit377195ce83c22c3a3771565cf15f6a06f1440b06 (patch)
treea4a66c35162e4195c6c62defda2c306d1d56c4ce /lib/tapicero.rb
parent83c323fbe10249a54d6383189fd9279d82c7d010 (diff)
log to file or syslog instead of STDOUT
Diffstat (limited to 'lib/tapicero.rb')
-rw-r--r--lib/tapicero.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/tapicero.rb b/lib/tapicero.rb
index 967a9a7..fd66030 100644
--- a/lib/tapicero.rb
+++ b/lib/tapicero.rb
@@ -5,6 +5,13 @@ unless defined? LEAP_CA_CONFIG
LEAP_CA_CONFIG = '/etc/leap/tapicero.yaml'
end
+module Tapicero
+ class <<self
+ attr_accessor :logger
+ end
+end
+
+
#
# Load Config
# this must come first, because CouchRest needs the connection defined before the models are defined.