Changed priority to notice and included SQL statement in log message.
Merge branch 'master' of git.otrs.com:otrs/otrs