loging working