0

I just noticed my Jenkins last wrote jenkins.log in /var/log/jenkins for more than 6 months ago.

This is from my Jenkins config:

# log location.  this may be a syslog facility.priority
JENKINS_LOG=/var/log/$NAME/$NAME.log
#JENKINS_LOG=daemon.info

So why no new logs being written there? Files and directory permission for this log location is the same as freshly new installed Jenkins.

Thanks!

  • Are you sure $NAME is defined? When did you last start it? What happens if you make the line explicit, without variables? – Sven Apr 8 at 8:33
  • @Sven It's the same config as freshly installed Jenkins. Last started 4 hours ago. Not planning to make the line explicit yet since it's a Prod environment. – Biskut Apr 8 at 8:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.