[
https://issues.apache.org/jira/browse/FC-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shawn McKinney resolved FC-289.
-------------------------------
Fix Version/s: (was: 3.0.0-RC1)
2.0.6
Resolution: Fixed
> [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
> Priority: Major
> Fix For: 2.0.6
>
>
> 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]