diff options
author | Eric Wong <normalperson@yhbt.net> | 2012-05-08 12:17:57 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2012-05-08 12:19:51 -0700 |
commit | eaa531a0e014aa8e4318e11b793f8665ce1509d0 (patch) | |
tree | b553c40897d0baa3d3eba861047827d47b6b9576 /README | |
parent | b772e23294d82dd0982ed60ae95eab8bfaa8c6bf (diff) | |
download | clogger-eaa531a0e014aa8e4318e11b793f8665ce1509d0.tar.gz |
It's easier-to-read with the concise syntax.
Diffstat (limited to 'README')
-rw-r--r-- | README | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -33,7 +33,7 @@ is customizable so you can specify exactly which fields to log. # ENV['CLOGGER_PURE'] = '1' # uncomment to disable C extension require "clogger" use Clogger, - :format => Clogger::Format::Combined, + :format => :Combined, :path => "/path/to/log", :reentrant => true run YourApplication.new @@ -42,7 +42,7 @@ If you're using Rails 2.3.x or later, in your config/environment.rb somewhere inside the "Rails::Initializer.run do |config|" block: config.middleware.use 'Clogger', - :format => Clogger::Format::Combined, + :format => :Combined, :path => "/path/to/log", :reentrant => false |