Used to check server status and capture logs