Interview Prep/Jenkins/Backups, HA, upgrades & performance

What is the impact of log size and how do you control it?

BeginnerConceptBackups, HA, upgrades & performance
Answer

Console logs are stored on the controller and streamed through it. A test suite printing 2 GB of debug output slows the controller and fills the disk. Control it with quiet build tool flags (mvn -B -q, --silent), writing verbose output to files that you archive compressed, buildDiscarder to delete old logs, and external log storage via plugins (e.g. pipeline-cloudwatch-logs, or the OpenTelemetry plugin with a log backend).

All Jenkins questions Roadmap: Jenkins

More on Backups, HA, upgrades & performance