Is there any configuration in databases to show the log info?

Hello there,

I just new comer in databases and very interesting in it. Most of my SQL plain text can run as well as in my script but i little bit confused how can i look what actually databases did with it? . I can’t look what the actual query has executed by databases. I look on core.py little bit curious with LOG_EXTRA. Is there any info how we can show the something like ** log info ** and know what actually databases executed to our database/table ?

many thanks in advance.