[JIRA] (JENKINS-56108) AuditTrail java.nio.file.NoSuchFileException for log file handler

2019-04-26 Thread qisyl...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sylvia Qi commented on  JENKINS-56108  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: AuditTrail java.nio.file.NoSuchFileException for log file handler
 

  
 
 
 
 

 
 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.   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57232) Configuration as code support for audit-trail plugin

2019-04-29 Thread qisyl...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sylvia Qi created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57232  
 
 
  Configuration as code support for audit-trail plugin   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Tomasz Sęk  
 
 
Components: 
 audit-trail-plugin  
 
 
Created: 
 2019-04-29 20:57  
 
 
Labels: 
 jcasc-compatibility  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Sylvia Qi  
 

  
 
 
 
 

 
 Please add support for configuration-as-code for this plugin asap. Thanks! Guide for plugin developers: https://github.com/jenkinsci/configuration-as-code-plugin/blob/master/docs/PLUGINS.md https://github.com/jenkinsci/configuration-as-code-plugin/blob/master/docs/REQUIREMENTS.md  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 

[JIRA] (JENKINS-56108) AuditTrail java.nio.file.NoSuchFileException for log file handler

2019-04-29 Thread qisyl...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sylvia Qi commented on  JENKINS-56108  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: AuditTrail java.nio.file.NoSuchFileException for log file handler
 

  
 
 
 
 

 
 After further testing, it appears that the initial configuration of this plugin does not work (I deployed Jenkins using a helm chart, so the plugin was configured as code). After the deployment, I am getting the same error when performing some action that would trigger the plugin to create a log file. Then, I went into the Jenkins Configure System UI and manually update one of the values in the plugin configuration, say, Log File Size, save the configuration, then the error goes away, and the plugin started working correctly. This behavior is consistently repeatable.   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.