Logging
From Genesys Documentation
This topic is part of the manual Billing Data Service Private Edition Guide for version Current of Billing Data Service.
Contents
Learn how to store logs for Billing Data Service (BDS).
Related documentation:
RSS:
BDS writes all logs to the standard output.
Viewing logs
- Execute the following command to get the pod name:
kubectl -n bds get po
NAME READY STATUS RESTARTS AGE bds-t2023-2023-1624633200-w8nh5 0/1 Completed 0 34m
- Where the NAME string is composed of the following elements: bds-t<tenant id>-<tenant id>-<job start linux time>-<random value>
- Execute the following command to check the logs:
kubectl logs bds-pod-<name>
- Where <name> is the pod name.
- For example:
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).
Comments or questions about this documentation? Contact us for support!