Fixing no logging issue