Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logger not configured when JAR is started #743

Closed
koppor opened this issue Jan 29, 2016 · 5 comments
Closed

Logger not configured when JAR is started #743

koppor opened this issue Jan 29, 2016 · 5 comments
Assignees
Milestone

Comments

@koppor
Copy link
Member

koppor commented Jan 29, 2016

When starting the JAR of JabRef, following output appears:

ERROR StatusLogger Unrecognized format specifier [d]

Steps to reproduce:

  1. gradlew shadowJar
  2. java -jar build\libs\JabRef-3.3dev-fat.jar
@koppor koppor added this to the v3.3 milestone Jan 31, 2016
@simonharrer
Copy link
Contributor

Problem of log4j2 in fat jars. Cannot be resolved easily. Maybe switch back to log4j v1?

@koppor
Copy link
Member Author

koppor commented Feb 15, 2016

Do you have a link for it? The stackoverflow answer at http://stackoverflow.com/a/34149368/873282 suggests that we might be using a wrong XML configuration.

OK, JIRA-LOG4J2-954 suggests that we should downgrade to 2.0.2.

As log4j v1 reached its end of life August 2015, I would suggest to try to get log4j v2 running or switch to Logback ^^.

@simonharrer
Copy link
Contributor

@simonharrer
Copy link
Contributor

206ba3f

@ghost
Copy link

ghost commented May 17, 2020

Still present in 5.0's "Portable Linux" .

Java:

openjdk version "1.8.0_252"
OpenJDK Runtime Environment (IcedTea 3.16.0) (Slackware)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants