Re: Want more info about logging works

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/01/2010 07:38 PM, mabra@xxxxxxxxxxxx wrote:
Hello !

I am just using this to log:

LogFormat \
	"%{%F %T}t\t%v\t%p\t%h\t%{User-Agent} ... \
	vhost_combined2

CustomLog "|/usr/bin/mono /test/eco.exe /var/log/apache2/extra_log 86400" \
	vhost_combined2

Okay.

May I use just a named pipe?

You may log to any target the CustomLog documentation says is supported.

  What will happen, it the reader has a short
"dropout", is there a buffer and if not, would apache continue to log
to that pipe later?

If the logging process is interrupted for any reason, apache can obviously not guarantee logging.

If I use only one [global] logging directive, would all instances
really use this one log?

Yes.

Because the timestamp does not contain milliseconds, how can I
determine, which request was the first? Would it help me, just
to subtract the processing-time?

Probably not.
Use a logging mechanism that records milli- or microseconds if you need that. The apache log contains the time of *completion* for the entire request, not the start time.

It would really help me to understand, how the logging
is really working!

It's well documented at http://httpd.apache.org/docs/current/logs.html


--
J.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux