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

Duplicate log? #750

Closed
jmesnil opened this issue Aug 30, 2024 · 0 comments · Fixed by #753
Closed

Duplicate log? #750

jmesnil opened this issue Aug 30, 2024 · 0 comments · Fixed by #753

Comments

@jmesnil
Copy link
Member

jmesnil commented Aug 30, 2024

While using Prosper for #749, I noticed that many logs are printed twice when using debug to perform an update:

~/Developer/prospero/prospero  update perform --debug --dir=.  --use-default-local-cache

Updating server: /Users/jmesnil/Developer/wildfly/dist/target/wildfly-34.0.0.Beta1-SNAPSHOT/.

16:32:28,071 DEBUG [prospero] Initializing history storage in /Users/jmesnil/Developer/wildfly/dist/target/wildfly-34.0.0.Beta1-SNAPSHOT/.
16:32:28,071 DEBUG [prospero] Initializing history storage in /Users/jmesnil/Developer/wildfly/dist/target/wildfly-34.0.0.Beta1-SNAPSHOT/.
16:32:28,141 INFO  [prospero] PRSP000012: Checking available updates
16:32:28,141 INFO  [prospero] PRSP000012: Checking available updates
Aug 30, 2024 4:32:28 PM java.lang.System$LoggerFinder lambda$accessProvider$0
WARNING: Failed to instantiate LoggerFinder provider; Using default.
16:32:32,043 INFO  [prospero] PRSP000013: Found 1 updates
16:32:32,043 INFO  [prospero] PRSP000013: Found 1 updates
Updates found:
  org.jboss.galleon:galleon-core                        6.0.2.Final          ==>  []
Continue with update [y/N]: y
Building updates

16:32:37,088 INFO  [prospero] PRSP000012: Checking available updates
16:32:37,088 INFO  [prospero] PRSP000012: Checking available updates
16:32:40,824 INFO  [prospero] PRSP000013: Found 1 updates
16:32:40,824 INFO  [prospero] PRSP000013: Found 1 updates
[...]
spyrkob added a commit to spyrkob/prospero that referenced this issue Sep 4, 2024
spyrkob added a commit that referenced this issue Sep 10, 2024
…ebug

[#750] Fix logging configuration to avoid duplicated logs when using --debug option
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

Successfully merging a pull request may close this issue.

1 participant