log in goroutine