The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:
Windows agents should log to a file by default
|Assignee:||Josh Cooper||% Done:|
|Affected Puppet version:||2.7.6||Branch:||https://github.com/puppetlabs/puppet/pull/494|
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com
Puppet agent defaults to using syslog. But since syslog is not commonly available on Windows, puppet agent doesn’t log anywhere by default. It is possible to use the
--logdest path option, but really we should enable a default
:file log destination within the
#2 Updated by Anonymous over 4 years ago
Josh Cooper wrote:
When running as a service, and a logdest specified, the log output is getting truncated due to #9595.
…this is nice, but isn’t the root cause of the problem on Windows. Ruby will flush internal buffers safely when it shuts down in the normal case, so something on Windows is causing it to exit uncleanly, or without the normal cleanup from triggering that flush.