Added log output.