Can't get SQL logging to work

In another thread, @knstvk linked to Useful Loggers - CUBA Platform. Developer’s Manual as an example of how to get SQL logging enabled. I’ve done this (in etc/ and also deploy/app_home and I’m not getting any SQL logged at all.

This is a standard Studio project on 7.2.x.

What am I missing?


In what file are you looking for the log messages?

If you properly set up application home and logback.xml, then these debug messages will appear in the ${app.home}/logs/app.log file.

They won’t appear in the console output or standard output file, because console prints only messages with INFO level or higher.

Aha, that would be the issue then. On the page Konstantin linked, there is no mention of multiple log files and such. :slight_smile: