logs: moved to service (+tests)