Logging.txt in daemon-kit-0.1.7.10 vs Logging.txt in daemon-kit-0.1.7.11
- old
+ new
@@ -46,9 +46,13 @@
DaemonKit.logger.silence do |logger|
# logger will only report :error or higher levels
end
+You can also set the logging per environment by editing the correct file in <em>config/environments</em>
+
+ config.log_level = :debug
+
=== Changing log levels via UNIX signals
Send your process the +USR1+ signal to toggle between <em>:debug</em>
and <em>:info</em> log levels. Sending a +USR2+ signal will force the
logger into <em>:debug</em> mode (+USR1+ will revert).