Disabling DB_AUDIT Logs in SAP Commerce
SAP Commerce's DB_AUDIT logs from AuditableActionsHandler can drown out your debug output. Setting the log4j2 logger level to OFF doesn't actually work. The only reliable way is to disable auditing per item type.
Use xmlstarlet to extract all audited item types from the source:
sudo apt install xmlstarlet
cd path/to/hybris/bin
find . -name "*-items.xml" \
| xargs xmlstarlet select -t -m "//itemtype" -n \
-v "concat('dbaudit.', @code, '.disabled=true')" \
| sort | uniq > dbaudit.txt
Lowercase everything in dbaudit.txt, paste into local.properties, and restart. Audit logging is gone.