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 to the snakemake log file #21

Open
SilasK opened this issue Jul 21, 2020 · 2 comments
Open

Logging to the snakemake log file #21

SilasK opened this issue Jul 21, 2020 · 2 comments

Comments

@SilasK
Copy link

SilasK commented Jul 21, 2020

I wondered if it is possible to make log entries to the main snakemake logfile from the submit or status script?

@drjbarker
Copy link

I haven't tried it, but in other components like wrappers you can do:

from snakemake.logging import logger

logger.warning(f'WARNING: blah')

I would guess this works in profiles, but you'd need to test.

@SilasK
Copy link
Author

SilasK commented Aug 28, 2020 via email

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

No branches or pull requests

2 participants