[prev in list] [next in list] [prev in thread] [next in thread]
List: logback-user
Subject: [logback-user] Logging messages from
From: Swapna Gupta <sgupta () callidussoftware ! com>
Date: 2011-05-26 20:51:08
Message-ID: 5B2B0581B6837A4EB03B14A8F31299D62A9E2EEF84 () IS-VMALEXCH01 ! callidussoftware ! com
[Download RAW message or body]
I am thoroughly confused by the different logging facades. I am trying to get debug \
messages from org.apache.xml.security.utils.DigesterOutputStream.class which is being \
called by opensaml apis. OpenSaml uses SLF4J. I am not sure what needs to be in my \
classpath and what shouldn't be there. I added the logback classic and logback core \
and jcl-over-slf4j. I don't see any messages. If I put following line in my code:
org.apache.commons.logging.Log log = \
LogFactory.getLog(org.apache.xml.security.utils.DigesterOutputStream.class);
I find that the log object contains a logger which is an instance of \
org.slf4j.helpers.NOPLogger(NOP).
Can you please help me to get the set up right?
Thanks.
[Attachment #3 (text/html)]
<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" \
CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 \
(filtered medium)"><style><!-- /* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.5pt;
font-family:Consolas;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:Consolas;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div \
class=WordSection1><p class=MsoNormal>I am thoroughly confused by the different \
logging facades. I am trying to get debug messages from \
org.apache.xml.security.utils.DigesterOutputStream.class which is being called by \
opensaml apis. OpenSaml uses SLF4J. I am not sure what needs to be in my \
classpath and what shouldn’t be there. I added the logback classic and logback \
core and jcl-over-slf4j. I don’t see any messages. If I put following line in \
my code:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p \
class=MsoPlainText>org.apache.commons.logging.Log log = \
LogFactory.getLog(org.apache.xml.security.utils.DigesterOutputStream.class);<o:p></o:p></p><p \
class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>I find that the log \
object contains a logger which is an instance of org.slf4j.helpers.NOPLogger(NOP). \
<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Can \
you please help me to get the set up right?<o:p></o:p></p><p \
class=MsoPlainText><o:p> </o:p></p><p \
class=MsoPlainText>Thanks.<o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p></div></body></html>
_______________________________________________
Logback-user mailing list
Logback-user@qos.ch
http://qos.ch/mailman/listinfo/logback-user
--===============2337357809848674848==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic