You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Shawn McKinney (Jira)" <ji...@apache.org> on 2021/01/16 18:11:00 UTC

[jira] [Updated] (FC-289) [fortress-web] get log4j2 working

     [ https://issues.apache.org/jira/browse/FC-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn McKinney updated FC-289:
------------------------------
    Summary: [fortress-web] get log4j2 working  (was: fortress-web - get log4j2 working)

> [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: 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: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org