Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: HTTP error response code 500 using LWP::UserAgent on one site, but not on any other

by ted.byers (Monk)
on Nov 16, 2012 at 21:17 UTC ( #1004241=note: print w/replies, xml ) Need Help??


in reply to Re: HTTP error response code 500 using LWP::UserAgent on one site, but not on any other
in thread HTTP error response code 500 using LWP::UserAgent on one site, but not on any other

Thanks OGB.

That is actually being done by the technical staff at the company that is providing the service. I have used such logs for my own web servers countless times to diagnose problems:usualy related to my own cgi programs, but sometimes to diagnose why my users encounter troubles.

That said, I doubt that he'd let me examine his logs, any more than I would let an outside developer examine my logs.

Do you have any thoughts on how to tell LWP to write the headers and request to a file instead of sending them to a server; or perhaps how to have it send to the logger suitable output for every step of the process of hand-shaking between the client and server, from the moment the connection is initiated to the moment the response is sent?

Thanks again.

Ted>

  • Comment on Re^2: HTTP error response code 500 using LWP::UserAgent on one site, but not on any other

Replies are listed 'Best First'.
Re^3: HTTP error response code 500 using LWP::UserAgent on one site, but not on any other
by Old_Gray_Bear (Bishop) on Nov 17, 2012 at 02:04 UTC
    They should be able to give you and extract of their logs if you provide them with a start and end time and the source host name/address. It's no big thing to filter a log for the time stamps in your range and then filter for your particular address. ISPs and their ilk have to do that to comply with a court-ordered "wiretap". (Or, how did they get the Generals email?)

    ----
    I Go Back to Sleep, Now.

    OGB

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004241]
help
Chatterbox?
[erix]: he caught a hare once (must have been a young one...)
virtualsue uses arcane git commands to resurrect a file, gets it back into shape and quits for the day
[GotToBTru]: a few years ago, when we had 3 dogs, the largest of them caught a chipmunk, but did not know what to do with it other than hold it in his mouth
[GotToBTru]: my wife told him to spit it out, so he did
[erix]: yeah, modern dogs are cute tjhat way :)
[erix]: except of course, the RHODESIAN LION HOUND ! :)
[Discipulus]: in roma cars are good mouser.. fortunnately no mouse at 7th floor..
[GotToBTru]: that's a name that should always be accompanied by a trumper fanfare
[GotToBTru]: trumpet, not trumper
[GotToBTru]: good thing too, Discipulus, no roads on the 7th floor either

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2017-11-17 20:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (272 votes). Check out past polls.

    Notices?