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

Capture stdout and stderr in log file [feature/111/pipeline-functions] #147

Open
tallamjr opened this issue May 21, 2019 · 1 comment
Open
Assignees
Labels
enhancement Improvement to existing functionality or implementation, including adding a new functions/methods.

Comments

@tallamjr
Copy link
Collaborator

It would be useful for the user to have a plain txt file that contains the stdout logs of what has been produce in a pipeline run.

Currently parameters are saved in a config.yml file for example:

analysis_directory: /share/hypatia/snmachine_resources/data/plasticc/analysis/
analysis_name: pipeline-extragal
data_path: /share/hypatia/snmachine_resources/data/plasticc/data/raw_data/training_set_extragal.pickle
git_hash: 225e216
kernel_param:
- 500.0
- 20.0
number_gp: 1100
number_of_principal_components: 10
timestamp: 2019-05-21-1425

But it would be nice to have the run stdout saved also, perhaps in a logs.txt file or similar

@tallamjr tallamjr added the enhancement Improvement to existing functionality or implementation, including adding a new functions/methods. label May 21, 2019
@tallamjr tallamjr self-assigned this May 21, 2019
@tallamjr
Copy link
Collaborator Author

Potentially useful: https://docs.python.org/3/howto/logging.html , Python logging module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement to existing functionality or implementation, including adding a new functions/methods.
Projects
None yet
Development

No branches or pull requests

1 participant