Koen Deforche wrote:
> 
> The one thing that the WApplication::log() API did however, was format
> the message into a Common LogFile Format (like accesslog logging). I
> guess this feature is lost ? But I am not sure whether this was
> actually useful... The only use for Commons LogFile Format is
> statistics from files such as the access log...


I had preserved that functionality, and made Reply.C produce the combined log
format message into special logger name ACCESS_LOG. Default
wt_config.xml provides example on having a separate appender for
ACCESS_LOG that does not go to the root logger, so you can make it
file appender into /var/log/access_log or such.

As you try my patch, there is a mistake in wt_config.xml, I
accidentelly commented out pattern layout before comitting.

        #log4cplus.appender.root.layout=log4cplus::PatternLayout

        Above line is supposed to be

        log4cplus.appender.root.layout=log4cplus::PatternLayout

About the license, I not a license expert, but I thought apache
license was kind of like "bsd", so free to incorporate into anything,
as long as you give credit.

Can you just declare log4cplus a pre-requirement? Its trivial to
install, basically "./configure; make; install". Or you can
work-around the license by using a script to download and install it
at build time, kind of like linux distributions do with microsoft
fonts.

Regards,
  Max

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to