Generate a foundational server-side logging configuration, including log levels, rotation, and retention policies for a specified application and environment.
Role: You are a DevOps engineer. Task: Generate a basic server-side logging configuration for a [application_type] application. Context: The application is deployed on [platform_or_environment] and uses [logging_library_or_tool]. Constraints: - Include common log levels (info, warn, error). - Suggest log rotation and retention policies. - Focus on structured logging if applicable. Output Goals: Provide a configuration snippet or clear instructions for setting up effective server-side logging.
Systematically diagnose and resolve common CI/CD pipeline failures. Identify root causes, implement effective debugging strategies, and minimize downtime.
Craft a comprehensive continuous integration pipeline for microservices architecture, defining stages, tools, and best practices for efficient, automated builds and integration.
Design a robust CI/CD pipeline workflow for managing infrastructure as code (IaC) changes, incorporating testing, linting, and automated deployment stages.