Ask Your Question

How can I configure the location of Dashboard logging? (default /usr/share/...)

asked 2013-10-17 04:29:40 -0500

gertvdijk gravatar image

I've freshly installed Puppet Dashboard 1.2.23 using the packages from on Debian Wheezy. After configuring the database and the dashboard I saw no workers were started to process the reports. Manually starting the puppet-dashboard-workers service fixed that, but I've noticed this output:

Rails Error: Unable to access log file. Please ensure that /usr/share/puppet-dashboard/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.

I see that the Puppet Dashboard workers are indeed trying to ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-10-19 20:50:24 -0500

Ancillas gravatar image

I think the dashboard uses a custom logger that is setting the log dir. I believe the best (and easiest) solution would be to symlink /usr/share/puppet-dashboard/log to /var/log/puppet-dashboard. I personally would use the Puppet client to do this so that if you re-built your master, your workaround would be applied.

I personally prefer this solution over modifying what the debian package creates. I'm sure the packages are built to be universal between debian and RHEL, which would explain why the package doesn't follow debian standards.

edit flag offensive delete link more


I just looked at how Puppet Enterprise handles the log dir. The directory is symlinked, so I'm confident that it's the correct solution.

Ancillas gravatar imageAncillas ( 2013-10-19 20:57:40 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-10-17 04:29:40 -0500

Seen: 316 times

Last updated: Oct 19 '13