> -----Original Message-----
> From: Rainer Jung 
> Sent: Mittwoch, 21. Juli 2010 11:24
> To: dev@httpd.apache.org
> Subject: Re: Error log format configuration syntax
> 
> On 20.07.2010 21:14, Stefan Fritsch wrote:
> > On Tue, 20 Jul 2010, Rainer Jung wrote:
> >> message and behind the message. I guess you can get rid of 
> >
> > Thats a very interesting idea. Taking it one step further, one could
> > introduce a meta-character (e.g. ^) for separating the fields. If a
> > format specifier produces no output, everything from the 
> previous to the
> > next field separator gets deleted. For example:
> >
> > ErrorLogFormat "[%{u}t] [%l] [pid %P^:tid %T^] ^%F: ^%E: 
> ^[client %a]
> > ^%M ^, referer: %{Referer}i"
> >
> > That's quite readable. I will check how much effort this is 
> to implement.
> 
> Yes, that way the choice between condensed and keeping empty 
> fields is 
> also back to users. If they mark a prefix or a suffix they get it 
> removed, if not it will stay always (and we could print "-" for the 
> missing data).
> 

Sounds reasonable.

Regards

Rüdiger

Reply via email to