changed logging in system