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

Logging for headerlet does not release log file handle #112

Open
stsci-hack opened this issue Oct 14, 2019 · 1 comment
Open

Logging for headerlet does not release log file handle #112

stsci-hack opened this issue Oct 14, 2019 · 1 comment
Labels

Comments

@stsci-hack
Copy link
Contributor

This module defines a FileHandler for the logging in the current working directory for the user when this module first gets imported. If that directory is removed later by the user, it will cause an Exception when performing headerlet operations later in another directory.

By itself, this is a relatively rare occurrence during use of this code. However, this code relies on use of a decorator which may not be necessary given what Python's logging module can do.

@stsci-hack stsci-hack added the bug label Oct 14, 2019
@mcara
Copy link
Member

mcara commented Jun 15, 2020

What is this about? There is no code to look at...

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