NOJIRA Route SQL to its own logger

SQL logging is sent to /dev/null by default so we don't spray PII all
over the file system. Can be sent elsewhere with the log.query.appender
system property. Our launch scripts also let you set that with
QUERY_LOG_APPENDER.