wei wang created LOG4J2-369:
---
Summary: How to include the log4j2 lib jar into a jar with my
application class and run it ?
Key: LOG4J2-369
URL: https://issues.apache.org/jira/browse/LOG4J2-369
Project:
[
https://issues.apache.org/jira/browse/LOG4J2-365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
wei wang closed LOG4J2-365.
---
Resolution: Fixed
The the classpath and use lib separately(no jar in jar)
ERROR
[
https://issues.apache.org/jira/browse/LOG4J2-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13745808#comment-13745808
]
wei wang commented on LOG4J2-365:
-
I am running the jar at windows7, so if I set the
[
https://issues.apache.org/jira/browse/LOG4J2-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13745813#comment-13745813
]
wei wang commented on LOG4J2-365:
-
The difference is that my Child process packed in a jar
[
https://issues.apache.org/jira/browse/LOG4J2-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13745820#comment-13745820
]
wei wang commented on LOG4J2-365:
-
Due to the reason, I could not change the launcher.jar
[
https://issues.apache.org/jira/browse/LOG4J2-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13745869#comment-13745869
]
wei wang commented on LOG4J2-365:
-
Hi Remko,
Now I come to the basic things you have
[
https://issues.apache.org/jira/browse/LOG4J2-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13745906#comment-13745906
]
wei wang commented on LOG4J2-365:
-
Hi Remko,
I have print out the classpath and
[
https://issues.apache.org/jira/browse/LOG4J2-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13746987#comment-13746987
]
wei wang commented on LOG4J2-365:
-
Thanks!
I'd like to have this solution:
static
{
wei wang created LOG4J2-365:
---
Summary: 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
[
https://issues.apache.org/jira/browse/LOG4J2-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13744840#comment-13744840
]
wei wang commented on LOG4J2-365:
-
The command can be run without any problem and the lib
[
https://issues.apache.org/jira/browse/LOG4J2-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13744842#comment-13744842
]
wei wang commented on LOG4J2-365:
-
Hi again,
If I only run oamcli.jar alone, the logging
[
https://issues.apache.org/jira/browse/LOG4J2-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13744884#comment-13744884
]
wei wang commented on LOG4J2-365:
-
How to passing the properties?
I have the logging
[
https://issues.apache.org/jira/browse/LOG4J2-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13744890#comment-13744890
]
wei wang commented on LOG4J2-365:
-
By the way, the path should be lib\*
[
https://issues.apache.org/jira/browse/LOG4J2-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13744891#comment-13744891
]
wei wang commented on LOG4J2-365:
-
Hi Remo, path I mean should be lib\\* why / could not
[
https://issues.apache.org/jira/browse/LOG4J2-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13744899#comment-13744899
]
wei wang commented on LOG4J2-365:
-
The result is:
2013-aug-20 14:00:49
[
https://issues.apache.org/jira/browse/LOG4J2-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13744950#comment-13744950
]
wei wang commented on LOG4J2-365:
-
Hi Remo,
I have even tried with the hardcoded
[
https://issues.apache.org/jira/browse/LOG4J2-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13745016#comment-13745016
]
wei wang commented on LOG4J2-365:
-
Hi Ralph,
In my -cp C:\Users\eweiwan\* exists
[
https://issues.apache.org/jira/browse/LOG4J2-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13745019#comment-13745019
]
wei wang commented on LOG4J2-365:
-
C:\Users\eweiwan\*
ERROR
[
https://issues.apache.org/jira/browse/LOG4J2-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13745022#comment-13745022
]
wei wang commented on LOG4J2-365:
-
C:\Users\eweiwan\\*
ERROR
[
https://issues.apache.org/jira/browse/LOG4J2-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13745021#comment-13745021
]
wei wang commented on LOG4J2-365:
-
C:\Users\eweiwan forwardslash *
[
https://issues.apache.org/jira/browse/LOG4J2-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13745339#comment-13745339
]
wei wang commented on LOG4J2-365:
-
Hi Ralph,
The launcher.jar has no log4j2 logging
21 matches
Mail list logo