Jenkins error: Unable to configure handler 'debug_file_handler'
Jenkins error: Unable to configure handler 'debug_file_handler'
我 运行 应该输出日志工件的 Jenkins 作业。
post {
always {
archiveArtifacts artifacts: 'logs/my-job-name_*.log' , fingerprint: true
}
}
我在控制台输出中收到此错误
Error in Logging Configuration. Using default configs.
Unable to configure handler 'debug_file_handler'
并且没有创建工件
有人使用 root 用户从 VM 终端运行 Jenkins 作业。
根用户是日志的所有者,
因此进一步的 Jenkins 运行(与用户 jenkins 一起)无法写入此日志。
我删除了日志文件夹,它成功了。
我 运行 应该输出日志工件的 Jenkins 作业。
post {
always {
archiveArtifacts artifacts: 'logs/my-job-name_*.log' , fingerprint: true
}
}
我在控制台输出中收到此错误
Error in Logging Configuration. Using default configs. Unable to configure handler 'debug_file_handler'
并且没有创建工件
有人使用 root 用户从 VM 终端运行 Jenkins 作业。
根用户是日志的所有者, 因此进一步的 Jenkins 运行(与用户 jenkins 一起)无法写入此日志。 我删除了日志文件夹,它成功了。