[prev in list] [next in list] [prev in thread] [next in thread] 

List:       slf4j-user
Subject:    [slf4j-user] Slf4j and JCL in JBOSS
From:       Tony Qian <tonyqian () hotmail ! com>
Date:       2012-08-24 18:36:35
Message-ID: BAY164-W55D79DEF0D7F312899EE1AD4BD0 () phx ! gbl
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


All,

I'm running into logging problem in our application. Here is the background about \
application.

APP server: JBoss 5.0.1
Application: RESTFul services built on RESTEasy. We use JCL and log4j in our \
                services.(Like to switch to SLF4j since we have had a  lot of class \
                loading issue). 
Note: RESTEasy uses slf4j.

In Jboss start script, we redirect standard error and standard output to default.out \
file (2>&1 >default.out).

Problem: somehow, all service logs at INFO level go to default.out. I have put \
jcl-over-slf4j-1.5.8.jar and slf4j-log4j12-1.5.8.jar in JBoss lib directory. It \
doesn't seem to fix the problem. 

Any suggestion to fix it?

Thanks,
Tony

 		 	   		  


[Attachment #5 (text/html)]

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
All,<br><br>I'm running into logging problem in our application. Here is the \
background about application.<br><br>APP server: JBoss 5.0.1<br>Application: RESTFul \
services built on RESTEasy. We use JCL and log4j in our services.(Like to switch to \
SLF4j since we have had a&nbsp; lot of class loading issue). <br>Note: RESTEasy uses \
slf4j.<br><br>In Jboss start script, we redirect standard error and standard output \
to default.out file (2&gt;&amp;1 &gt;default.out).<br><br>Problem: somehow, all \
service logs at INFO level go to default.out. I have put jcl-over-slf4j-1.5.8.jar and \
slf4j-log4j12-1.5.8.jar in JBoss lib directory. It doesn't seem to fix the problem. \
<br><br>Any suggestion to fix it?<br><br>Thanks,<br>Tony<br><br> 		 	   		  \
</div></body> </html>



_______________________________________________
slf4j-user mailing list
slf4j-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/slf4j-user

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic