Skip to content

Commit d9690b4

Browse files
author
Stanislav Volovik
committed
README updated
1 parent 6327945 commit d9690b4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ stackify-api-ruby starts with start of Rails. Every error, which occurs within y
3434

3535
Rails.logger.info "Some log message"
3636

37+
If you want to redefine <b>logger</b>, you should add
38+
39+
config.logger = ::Stackify::LoggerProxy.new(ActiveSupport::Logger.new(File.join(Rails.root, 'log', "#{Rails.env}.log")))
40+
41+
to your config/environments/%environment%. <b>Note:</b> in this case Stackify#config.log_level will affect entire system.
42+
3743
### Other Environment
3844

3945
For using stackify-api-ruby gem within any Ruby application add to top of your main file:

0 commit comments

Comments
 (0)