Return-Path: X-Original-To: apmail-logging-log4j-dev-archive@www.apache.org Delivered-To: apmail-logging-log4j-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6357810A50 for ; Thu, 22 Aug 2013 00:10:52 +0000 (UTC) Received: (qmail 18892 invoked by uid 500); 22 Aug 2013 00:10:52 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 18861 invoked by uid 500); 22 Aug 2013 00:10:52 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 18852 invoked by uid 99); 22 Aug 2013 00:10:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Aug 2013 00:10:52 +0000 Date: Thu, 22 Aug 2013 00:10:52 +0000 (UTC) From: "Ralph Goers (JIRA)" To: log4j-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LOG4J2-365) ERROR StatusLogger Unable to locate a logging implementation, using SimpleLogge MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LOG4J2-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747073#comment-13747073 ] Ralph Goers commented on LOG4J2-365: ------------------------------------ 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: log4j-dev-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-dev-help@logging.apache.org