1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] sqlite3 verbose logging in Python

Discussão em 'Python' iniciado por Stack, Novembro 27, 2025.

  1. Stack

    Stack Membro Participativo

    I am facing a weird issue where connection.commit() is taking whooping 15 seconds to finish. I need to enable debugging messages of Sqlite3 in Python to find out what is causing this long running operation. All I know is my python process is in 'D' state i.e. waiting for I/O to finish.

    sqlite3_config() seems to offer debugging messages in C. Is there a Python equivalent for this ?

    Also is the a way to redirect the debugging logs to syslog ?

    Continue reading...

Compartilhe esta Página