Added log tail for cap