jenkins-bootstrap-shared icon indicating copy to clipboard operation
jenkins-bootstrap-shared copied to clipboard

Logging within init scripts

Open samrocketman opened this issue 2 years ago • 0 comments

Some init scripts such as those disabling Jenkins CLI should probably write a startup log informing the user what was done.

import java.util.logging.Logger
Logger logger = Logger.getLogger('')

logger.info('Some informative message.')

samrocketman avatar Jun 24 '23 14:06 samrocketman