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

Log Exception Stack Traces When The Tool Fails #26

Open
romeara opened this issue Jun 17, 2015 · 4 comments
Open

Log Exception Stack Traces When The Tool Fails #26

romeara opened this issue Jun 17, 2015 · 4 comments

Comments

@romeara
Copy link
Contributor

romeara commented Jun 17, 2015

Currently, when jar commands fail, a single message line is output. This is not helpful for debugging, as it give no clues as to the source of the issue.

The tool should log the stack trace of such exceptions for easier tracking

@romeara romeara changed the title Log Exceptions When The Tool Fails Log Exception Stack Traces When The Tool Fails Jun 17, 2015
@goneall
Copy link
Member

goneall commented Nov 11, 2017

The overall logging for the license list tool does not seem to be working. This would need to be debugged - likely a configuration issue for log4j.

@Gautime
Copy link
Contributor

Gautime commented Jun 11, 2020

Hi @goneall. Can you point me to the logger file where I can enhance the code to log stacktrace?

@goneall
Copy link
Member

goneall commented Jun 11, 2020

@Gautime If you download https://github.com/spdx/tools/releases/download/v2.2.1/spdx-tools-2.2.1-jar-with-dependencies.jar and run the application you'll notice an error about logging configuration. I would start there and see if you can find out what configuration needs to be added.

@Gautime
Copy link
Contributor

Gautime commented Jun 16, 2020

#236 Merged.

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

No branches or pull requests

3 participants