Logging fix

println instead of print