Added uptime logging