[prev in list] [next in list] [prev in thread] [next in thread]
List: ws-general
Subject: [jira] [Created] (WSS-579) Sample configuration WSS4J with log4j
From: "Alexandre Meyer (JIRA)" <jira () apache ! org>
Date: 2016-05-24 10:59:12
Message-ID: JIRA.12972360.1464087522000.275602.1464087552935 () Atlassian ! JIRA
[Download RAW message or body]
Alexandre Meyer created WSS-579:
-----------------------------------
Summary: Sample configuration WSS4J with log4j
Key: WSS-579
URL: https://issues.apache.org/jira/browse/WSS-579
Project: WSS4J
Issue Type: Wish
Components: WSS4J Handlers
Affects Versions: 2.1.5
Environment: Apache CXF 3.1.6
Reporter: Alexandre Meyer
Assignee: Colm O hEigeartaigh
Priority: Minor
Unable to activate debug log to WSS4J with CXF 3.1.6
{code:xml|title=log4j.properties}
# Global logging configuration
log4j.rootLogger=DEBUG, stdout
log4j.logger.org.apache.wss4j=DEBUG
# Console output...
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.conversionPattern=[%p,%c,%t] %m%n
{code}
isDebugEnabled still return false, and debug log never appear.
{code:title=Merlin.java|borderStyle=solid}
private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(Merlin.class);
private static final boolean DO_DEBUG = LOG.isDebugEnabled();
....
if (DO_DEBUG) {
LOG.debug("The KeyStore " + keyStoreLocation + " of type " + type + " has been loaded");
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic