Skip to content
This repository
Browse code

Documentation about config.log_level config options

  • Loading branch information...
commit 0ce64ba9aa93c01ee69c45493ad8090e76f95ff4 1 parent 448df2d
Arun Agrawal authored November 27, 2011
2  railties/guides/source/configuring.textile
Source Rendered
@@ -88,6 +88,8 @@ NOTE. The +config.asset_path+ configuration is ignored if the asset pipeline is
88 88
 
89 89
 * +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+.
90 90
 
  91
+* +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.
  92
+
91 93
 * +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.
92 94
 
93 95
 * +config.middleware+ allows you to configure the application's middleware. This is covered in depth in the "Configuring Middleware":#configuring-middleware section below.

0 notes on commit 0ce64ba

Please sign in to comment.
Something went wrong with that request. Please try again.