Log typo
Improved loggin