Re: WO and commons-logging with log4j
"Jerry W. Walker" <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, Trond,
I've never wrapped log4j with commons-logging, but Ceki Gülcü, the
author of log4j published comments on this that you might find
helpful at:
http://www.qos.ch/logging/thinkAgain.jsp
Regards,
Jerry
On Mar 2, 2006, at 7:41 AM, Trond Kandal wrote:
> Hi!
>
> when developing wo-apps we want to use commons-logging and log4j.
> wo is bundled with both commons-logging.jar and log4j-1.2.4.jar in
> the /Library/WebObjects/Extensions-directory and this seems to work.
> *but* when i am using commons-logging in my app it finds the log4j
> alright but uses the log4j.properties which is inside axis.jar which
> is resides in the /Library/WebObjects/Extensions-directory.
>
> in my case i want to use a customized log4j.properties which makes
> my apps to log to syslog. and use syslog.conf to choose which
> files to write the log-information.
> i have tried to set the property "log4j.configuration" to point
> to the customized file but that does not work either.
>
> has anyone tried the same and found how to do this?
>
> thanks!
>
> trond.
> --
> Trond Kandal Organisasjonsavd. voice: +47 73597497
> Integrasjonsgruppa NTNU mobile:+47 91897110
> IT-seksjonen 7491 Trondheim fax: +47 73598200
> http://www.itea.ntnu.no/integrasjon
>
> This is Unix land.
> In quiet nights you can hear M$-Windoze machines reboot.
> _______________________________________________
> WebObjects-dev mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
--
__ Jerry W. Walker,
WebObjects Developer/Instructor for High Performance Industrial
Strength Internet Enabled Systems
[email protected]
203 278-4085 office