Log management best practices for modern applications and infrastructure