Re: Logging problem

2019-04-11 Thread Lukasz Lenart
śr., 10 kwi 2019 o 11:20 Tamás Barta  napisał(a):
>
> Hi,
>
> We use JBoss as AS where logging is based on Log4J version 1. I see that
> Struts 2 uses Log4J version 2 and my problem is that how can I route Struts
> logging messages to the Log4J inside JBoss. I guess I need a bridge-like
> Log4J2 appender which logs into a Log4J Logger, but I couldn't find one.
> Configuring Log4J2 to log into stdout or file is not an option.

Did you try to ask guys from Log4j2 project?


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Logging problem

2019-04-10 Thread Tamás Barta
Hi,

We use JBoss as AS where logging is based on Log4J version 1. I see that
Struts 2 uses Log4J version 2 and my problem is that how can I route Struts
logging messages to the Log4J inside JBoss. I guess I need a bridge-like
Log4J2 appender which logs into a Log4J Logger, but I couldn't find one.
Configuring Log4J2 to log into stdout or file is not an option.

Thanks, Tamás


tomcat 5 logging problem

2004-07-21 Thread Gupta, Sahil
I cant seem to get logging working on my apache+tomcat5 set up. I have the
log4j.properties file in the tomcat_install/conf directory and the
environment variable 

CATALINA_OPTS set to
-Dlog4j.configuration=file:/c:/webmd/Tomcat4.1/conf/log4j.properties EXPORT
CATALINA_OPTS

I am attaching the log4j.properties file.

In the code, i use commons-logging jar and 

private static final Log log;
static 
{
log = LogFactory.getLog("org.abc.search");
}

to instantiate a Log object.

What could i be doing wrong?

S


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]