Remove unnecessary local variable
Remove unnecessary logger
Remove unnecessary methods
Update logging statement