N3PDF / pdfflow

PDFflow is parton distribution function interpolation library written in Python and based on the TensorFlow framework.
https://pdfflow.readthedocs.io
Apache License 2.0
8 stars 0 forks source link

Add a point about disabling logs in the docs #35

Closed scarlehoff closed 4 years ago

scarlehoff commented 4 years ago

As per issue #33, add a mention to the possibility of disabling the logs when using pdfflow.

import logging
logger_pdfflow = logging.getLogger('pdfflow')
logger_pdfflow.setLevel(logging.WARNING)

It might make sense to have it also as a environment variable because when pdfflow is used from C, Fortran, etc, changing the log level won't be this easy.