HomeDocumentationAPI ReferenceTutorials
Haystack Homepage

Log Level

Change the logging level to display more information in the console output.

By default, Haystack's logging level is set to WARNING. To display more information, you can change it to INFO. This way not only warnings but also information messages are displayed in the console output.

To change the logging level to INFO, run:

import logging

logging.basicConfig(format="%(levelname)s - %(name)s -  %(message)s", level=logging.WARNING)