-
Bug
-
Resolution: Fixed
-
Critical
-
RHEL7
Jenkins ver. 2.138.3
Installed and encountered same exception with the audit trail plugin version 2.4 and 2.3.
It was a fresh install and added log file as logger in configure. Started getting following exception in logs when users change the configurations where it was expected to log these activities.
java.nio.file.NoSuchFileException: /data/jenkins/logs/audit/audit-0.log.lck
I have removed the logger and created another logger, the issue stays same.
No log file is created under this folder.
- links to
[JENKINS-56108] AuditTrail java.nio.file.NoSuchFileException for log file handler
Environment |
Original:
RHEL7 |
New:
RHEL7 Jenkins ver. 2.138.3 |
Assignee | Original: Tomasz Sęk [ tsek ] | New: Pierre Beitz [ pierrebtz ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Remote Link | New: This issue links to "PR-13 (Web Link)" [ 22754 ] |
I encountered the same issue, but later discovered it had to do with the audit trail log directory. When I had the audit trail log directory set to /var/log/jenkins/audit-%g.log, I got that error. Then I changed it to /var/jenkins_home/logs/audit-%g.log, it worked. The default jenkins log dir of my installation is /var/jenkins_home/logs.
Hope this helps.