Fixed a bug in the log
Properly added logs