Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IIS Logs

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  ASP's no longer load  
Author Message
JGP

External


Since: Nov 21, 2007
Posts: 1



(Msg. 1) Posted: Wed Nov 21, 2007 9:19 am
Post subject: IIS Logs
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hi,

Is there any way to log the entire POST body of a request in IIS
logs?
Rather than logging just the GET requests (with querystring).

Thanks,
JGP

 >> Stay informed about: IIS Logs 
Back to top
Login to vote
David Wang

External


Since: Nov 14, 2007
Posts: 361



(Msg. 2) Posted: Wed Nov 21, 2007 9:42 pm
Post subject: Re: IIS Logs [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Nov 21, 9:19 am, JGP <josep....TakeThisOut@gmail.com> wrote:
> Hi,
>
> Is there any way to log the entire POST body of a request in IIS
> logs?
> Rather than logging just the GET requests (with querystring).
>
> Thanks,
> JGP


Yes, it is possible, but there is no built-in feature in IIS to do it
by default.

Besides, what should happen if the client sends a 2GB POST ? What
length should the log truncate at? What encoding should the log file
take (suppose the POST body is binary data). These things are not
defined in any log format specification.

If you want to view the HTTP entity body being sent, I suggest using
Network Monitor or similar network sniffer tools. If the HTTP request
is sent using System.Net, you can enable System.Net tracing to view
the entity body as well.

There are lots of good ways to get that POST request entity body for
examination. Fetching it from a web server log does not sound like a
good idea.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

 >> Stay informed about: IIS Logs 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]