Debug logs for additional python modules(oracledb) #245
Unanswered
praphi-git
asked this question in
Q&A
Replies: 1 comment
-
I'm not familiar with Oracle, but I see https://python-oracledb.readthedocs.io/en/latest/user_guide/troubleshooting.html#dpy-3015 has some steps to address the issue. Have you tried following those? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am running query exporter for Oracle Database using MacOS using the command against python virtual environment
query-exporter --config oracle-stats.yaml --log-level debug
i get a stack trace indicating that i need to use thick client
logs
There seems to be issues with loading the client library for Oracle. it is unable to switch to thick client mode. I am trying to debug this further and see what could be the problem.
I have tried adding
DPI_DEBUG_LEVEL=64
to trace the issue further, but i am unable to see the debug logs. Where do the additional logs get storedi have tried testing the connection using test code(sqlalchemy/create_engine) and I am able to connect and run when i use oracledb.init_oracle_client(lib_dir=<instantclient_23_3 dir path>)
sample debug logs with (
DPI_DEBUG_LEVEL=64
)oracledb debug logs
debug logs for oracledb
Beta Was this translation helpful? Give feedback.
All reactions