Re: Logging Who Restarted Jenkins

2015-03-31 Thread Daniel Beck
Audit Trail Plugin records this if done via the /(safe)Restart URLs. On 31.03.2015, at 19:37, Greg Nifor whitehotentr...@gmail.com wrote: Is there a way to log who ordered a Jenkins restart? The log right now just denotes that a restart happened. I would like something like Mar 30, 2015

Re: Logging Who Restarted Jenkins

2015-03-31 Thread Daniel Beck
If Jenkins is ordered to shut down/restart, the user who ordered the restart should already get logged to jenkins.model.Jenkins: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/jenkins/model/Jenkins.java#L3354

Re: Logging Who Restarted Jenkins

2015-03-31 Thread Maureen Barger
On Tue, Mar 31, 2015 at 2:06 PM, Daniel Beck m...@beckweb.net wrote: Of course, if the user logs into the server and restarts the Jenkins service, it won't get logged this way. There's no way for Jenkins to determine who does it either. You can add it to the script itself if you do it from

Logging Who Restarted Jenkins

2015-03-31 Thread Greg Nifor
Is there a way to log who ordered a Jenkins restart? The log right now just denotes that a restart happened. I would like something like Mar 30, 2015 9:57:01 PM INFO: Safe-restart started by GregWringle. Is there anyway I can implement this? -- You received this message because you are