RE: Logging and Velocity

"Schnitzer, Jeff" <[email protected]>
Newsgroups gmane.comp.web.maverick.general
Message-ID <[email protected]>
The best place to post this question would be
[email protected].  The list archives are available here:

http://www.mail-archive.com/velocity-user%40jakarta.apache.org/

I haven't found anything strange about configuring velocity logging
though.  Under JBoss, velocity log messages go through log4j just like
everything else.

Jeff Schnitzer
[email protected]

> -----Original Message-----
> From: Peter Chase [mailto:[email protected]]
> Sent: Wednesday, March 12, 2003 3:27 AM
> To: [email protected]
> Subject: [Mav-user] Logging and Velocity
> 
> I am integrating Maverick and Velocity into an
> application of ours. One task is to get the Maverick
> and Velocity log messages to appear in our central
> logging system, rather than on the console.
> 
> I wrote a subclass of Log4J's AppenderSkeleton to do
> this and modified the Log4J configuration to use my
> appender. This works fine for the Maverick logs; they
> now appear on our central logger, not the console.
> 
> But the Velocity logs still appear on the console.
> How, within the context of Maverick and
> VelocityViewServlet, can I configure Velocity to send
> its log messages to our logger?
> 
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:Crypto Challenge is now open!
> Get cracking and register here for some mind boggling fun and
> the chance of winning an Apple iPod:
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
> [INVALID FOOTER]



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
[INVALID FOOTER]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.