Add log information
Fix logging