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

Possibility to suppress warnings? #77

Closed
JonCook opened this issue Feb 12, 2016 · 2 comments
Closed

Possibility to suppress warnings? #77

JonCook opened this issue Feb 12, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@JonCook
Copy link

JonCook commented Feb 12, 2016

Hi,

Is there a way to suppress this warning:

Feb 12, 2016 3:41:41 PM nom.tam.fits.Header addDuplicate
WARNING: Warning: multiple occurrences of key:--------
Feb 12, 2016 3:41:41 PM nom.tam.fits.Header addDuplicate

Since upgrading I see it many times for some fits files we have in our system which aren't going to change.

Thanks

@ritchieGitHub ritchieGitHub self-assigned this Feb 12, 2016
@ritchieGitHub
Copy link
Member

We use the java logging meganim included in core java, so you can just provide a config file to control the logging in detail. See the logging contol file in fits/ src/test/resources as an example

@JonCook
Copy link
Author

JonCook commented Feb 12, 2016

ok. great thanks. We also use this mechanism, so perfect.

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

No branches or pull requests

2 participants