Fixing database logs and adding logger prefix.