aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2011-11-27 12:34:14 +0530
committerArun Agrawal <arunagw@gmail.com>2011-11-27 12:34:14 +0530
commit0ce64ba9aa93c01ee69c45493ad8090e76f95ff4 (patch)
treed7f89e5c21e70f13316f59b3f8e5e2b702344beb /railties
parent448df2d100feccf1d5df9db2b02b732a775d8406 (diff)
downloadrails-0ce64ba9aa93c01ee69c45493ad8090e76f95ff4.tar.gz
rails-0ce64ba9aa93c01ee69c45493ad8090e76f95ff4.tar.bz2
rails-0ce64ba9aa93c01ee69c45493ad8090e76f95ff4.zip
Documentation about config.log_level config options
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/configuring.textile2
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile
index 809948b41e..beb623757b 100644
--- a/railties/guides/source/configuring.textile
+++ b/railties/guides/source/configuring.textile
@@ -88,6 +88,8 @@ NOTE. The +config.asset_path+ configuration is ignored if the asset pipeline is
* +config.log_level+ defines the verbosity of the Rails logger. This option defaults to +:debug+ for all modes except production, where it defaults to +:info+.
+* +config.log_tags+ accepts a list of methods that respond to +request+ object. This makes it easy to tag log lines with debug information like subdomain and request id -- both very helpful in debugging multi-user production applications.
+
* +config.logger+ accepts a logger conforming to the interface of Log4r or the default Ruby +Logger+ class. Defaults to an instance of +ActiveSupport::BufferedLogger+, with auto flushing off in production mode.
* +config.middleware+ allows you to configure the application's middleware. This is covered in depth in the "Configuring Middleware":#configuring-middleware section below.