Fix Logger Error
Update to new method
Fix some warnings