managing the Loging