Custom JBoss log handler with database backend