logger working