Change tag to latest and use correct pos file syntax for detection of log rotation