I'm trying to log sql events to the ir_logging table. My config is as follows;
log_db = True
log_db_level = warning
log_handler = :INFO
log_level = debug_sql
logfile = /var/log/odoo/odoo-server.log
logrotate = False
I've also tried "info" for the log_db_level parameter and restarted the odoo service before each test. I've created sales orders and performed stock moves, but had zero rows written to the ir_logging table. I can't find this properly documented anywhere. How does it work?