add logger to commander