Class: RequestLog::Access

Class | RequestLog::Access
In: | lib/mongrel/debug.rb lib/mongrel/debug.rb
Parent: | GemPlugin::Plugin"/handlers"

Just logs whatever requests it gets to STDERR (which ends up in the mongrel log when daemonized).

### Methods

process process

### Included Modules

Mongrel::HttpHandlerPlugin Mongrel::HttpHandlerPlugin

### Public Instance methods

process(request,response)

[Source]

         # File lib/mongrel/debug.rb, line 100
    100:     def process(request,response)
    101:       p = request.params
    102:       STDERR.puts "#{p['REMOTE_ADDR']} - [#{Time.now.httpdate}] \"#{p['REQUEST_METHOD']} #{p["REQUEST_URI"]} HTTP/1.1\""
    103:     end

process(request,response)

[Source]

         # File lib/mongrel/debug.rb, line 100
    100:     def process(request,response)
    101:       p = request.params
    102:       STDERR.puts "#{p['REMOTE_ADDR']} - [#{Time.now.httpdate}] \"#{p['REQUEST_METHOD']} #{p["REQUEST_URI"]} HTTP/1.1\""
    103:     end

[Validate]