Shawn McKinney created FC-289:
---------------------------------
Summary: fortress-web - get log4j2 working
Key: FC-289
URL: https://issues.apache.org/jira/browse/FC-289
Project: FORTRESS
Issue Type: Bug
Affects Versions: 2.0.5
Reporter: Shawn McKinney
Assignee: Shawn McKinney
Fix For: 3.0.0-RC1
Loggers not working with log4j2, this in logs:
```
log4j:WARN No appenders could be found for logger
(org.apache.directory.fortress.web.model.UserListModel).
log4j:WARN Please initialize the log4j system properly.
```
Change this:
```
import org.apache.log4j.Logger;
private static final Logger LOG = Logger.getLogger( ... );
```
to
```
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
private static final Logger LOG = LoggerFactory.getLogger( ... );
```
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]