Issue #6866 has been reported by Ralf Gross.
----------------------------------------
Bug #6866: debian package contains non working logrotate rule
https://projects.puppetlabs.com/issues/6866
Author: Ralf Gross
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Keywords: puppet-dashboard, ubuntu, debian, logrotate,
/var/log/puppet-dashboard/, logging
Branch:
Affected URL:
Affected Dashboard version:
The Ubuntu/Debian puppet-dashboard package (puppet-dashboard 1.0.4-1) contains
a logrotate rule that generates an error because the logfile does not exist.
error: error accessing /var/log/puppet-dashboard: No such file or directory
error: puppet-dashboard:2 glob failed for /var/log/puppet-dashboard/*/*.log
error: found error in /var/log/puppet-dashboard/*/*.log , skipping
/etc/logrotate.d/puppet-dashboard:
# Puppet-Dashboard logs:
/var/log/puppet-dashboard/*/*.log {
daily
missingok
rotate 14
compress
delaycompress
notifempty
copytruncate
}
The directory /var/log/puppet-dashboard/ does not exist and couldn't find any
information how/where to set up logging for puppet-dashboard. The only logfiles
I could find are located in /usr/share/puppet-dashboard/log/.
$ls -l /usr/share/puppet-dashboard/log/
insgesamt 400
-rw-r--r-- 1 www-data www-data 4732 23. Mär 17:11 development.log
-rw-r--r-- 1 www-data www-data 394819 28. Mär 09:19 production.log
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.