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

Robust logging #5

Closed
scotthavens opened this issue Sep 13, 2019 · 1 comment
Closed

Robust logging #5

scotthavens opened this issue Sep 13, 2019 · 1 comment
Assignees

Comments

@scotthavens
Copy link

I'm trying to run snowav from the command line and there is a lack of logging when trying to process long time periods. If I try to do a whole run, it sits without any information printed out to the screen. It'd be great to align the standalone logger in snowav with those in SMRF and AWSM. For example, log the name of the package, put the logger above the parsing (which can take some time) so that a user can get direct feedback as soon as they run snowav.

@robertson-mark
Copy link
Contributor

More robust logging added. This includes more debug logging statements for file loading, and moving the logger inside the processing function so the statements are more timely. The logger has to be initiated after parsing is complete, so that we can let snowav process an entire directory without knowing the start and end date (files can't be logged to until directory is created, and directory name includes start/end dates). However, now the log will at least show the files that have been loaded if there was an error.

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

2 participants