GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SQUATTING::WITH::ACCESSTRACE (3)

.ds Aq ’

NAME

Squatting::With::AccessTrace - provide a simple access log on STDERR

CONTENTS

SYNOPSIS



  use App With::AccessTrace, On::Continuity;



DESCRIPTION

Using this plugin will print an executable line of code that represents the HTTP request that just came in. This print out conveniently condenses what app, HTTP method, controller, arguments, and CGI params were involved in the request. It looks like this:



    1 [200] Example->get(Home)
    2 [200] Example->get(Home, { bar => 2, baz => 5, foo => 1 })
    3 [200] Example->get(Profile, beppu)
    4 [200] Example->get(Home)
    5 [302] Example->get(RubyGems)
    6 [404] Squatting->get(R404)



You also get the number of requests the current process has served and the HTTP status of the response in the first and second columns, respectively.

The code that generates this was originally in &Squatting::service, but I wanted to make it optional, so I moved it into a separate module.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 SQUATTING::WITH::ACCESSTRACE (3) 2013-01-23

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.