[ 
https://issues.apache.org/jira/browse/LOG4J2-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747073#comment-13747073
 ] 

Ralph Goers edited comment on LOG4J2-365 at 8/22/13 12:10 AM:
--------------------------------------------------------------

I'm a bit confused. You said you would like the log4j2.xml inside of a jar.  
$user.home\log4j2.xml will never resolve into a path inside of a jar.

Also, I am wondering if there is still a problem here that needs to be solved. 
The title of the issue is for being unable to locate the logging implementation 
but from what I can tell that has been resolved.
                
      was (Author: [email protected]):
    I'm a bit confused. You said you would like the log4j2.xml inside of a jar. 
 $user.home\log4j2.xml will never resolve into a path inside of a jar.
                  
> ERROR StatusLogger Unable to locate a logging implementation, using 
> SimpleLogge
> -------------------------------------------------------------------------------
>
>                 Key: LOG4J2-365
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-365
>             Project: Log4j 2
>          Issue Type: Question
>          Components: log4j 1.2 emulation
>    Affects Versions: 2.0-beta7
>         Environment: windows7
>            Reporter: wei wang
>            Priority: Blocker
>              Labels: ERROR, SimpleLogge, StatusLogger, Unable, a, 
> implementation,, locate, logging, to, using
>             Fix For: 2.0-beta7
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> I have problem to make the logging work with the log4j2.xml  when packing 
> into jar file.
> I have launcher.jar which calls oamcli.jar(has logging implementation and log 
> is working in eclipse)
> How ever when I try to run :
> java -Dlog4j.configurationFile=path\to\log4j2.xml  -cp  "launcher.jar; lib\*" 
> .....
> I got a "ERROR StatusLogger Unable to locate a logging implementation, using 
> SimpleLogger"
> Please give me some advice and where to look for the answer. 
> Thanks!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to