Skip to content

Commit

Permalink
added a rails example config file
Browse files Browse the repository at this point in the history
  • Loading branch information
ajsharp committed Mar 21, 2010
1 parent 83ab8e8 commit 9b3b056
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examples/rails.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

# put in config/initializers/bunyan.rb
Bunyan::Logger.configure do |config|
# required options
config.database "bunyan_logger"
config.collection "#{RAILS_ENV}_log"

# optional
config.size 75.megabytes
end

0 comments on commit 9b3b056

Please sign in to comment.