Logging fix
Documentation