Logging

From Genesys Documentation
Jump to: navigation, search
This is a draft page; it has not yet been published.

Learn how to store logs for Billing Data Service (BDS).

BDS writes all logs to the standard output.  Use kubectl to check them:

kubectl logs bds-pod-wn8bx

Setting the log level

Optionally, you can set the log level using the BDS_LOG_LEVEL environment variable. Acceptable values are:

CRITICAL, 50, ERROR, 40, WARNING, 30, INFO, 20, DEBUG, 10,NOTSET, 0.

If you do not set a value, BDS reads the default value from gvars.py. If gvars.py contains no value, BDS uses the default value (DEBUG).