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

ph5toms - write log file on demand #300

Open
ascire-pic opened this issue Jun 12, 2019 · 3 comments
Open

ph5toms - write log file on demand #300

ascire-pic opened this issue Jun 12, 2019 · 3 comments
Labels
enhancement GeoHDF Things to consider for GeoHDF

Comments

@ascire-pic
Copy link
Collaborator

For troubleshooting, ph5toms could include a flag that would write a log file

ph5toms used to write a log file by default, but that was removed when web services was implemented. However, that log file was very useful for determining why ph5toms failed to write data so having the option for a verbose log when needed would be helpful.

@ascire-pic ascire-pic added the GeoHDF Things to consider for GeoHDF label Oct 23, 2020
@timronan
Copy link
Collaborator

At @ascire-pic do you know approximately when the log file function was disabled? Maybe we could use part of the old code. This could point to potential issues in the data format.

@ascire-pic
Copy link
Collaborator Author

@timronan I think it was disabled when miniseed output was added to web services at the DMC. It used to default to writing a log file, either to a text file or to the screen (can't recall right now) and that was removed to accommodate writing out miniseed via web services to keep the DMC from ending up with endless log text files every time someone requested data. I am interested in having the option to write a log file because it was useful for troubleshooting when a user is having issues writing out miniseed data from a local PH5 archive.

@timronan
Copy link
Collaborator

@ascire-pic it seems like a good idea to have a verbosity flag that will write a log file when executing ph5toms. It seems like this flag will help both users and developers trouble shoot ph5toms.

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

No branches or pull requests

2 participants