Updated loging