Jira (PUP-2997) Logdest cannot be set in the puppet.conf

4 views
Skip to first unread message

Mike Andrewjeski (JIRA)

unread,
Feb 4, 2015, 12:56:39 PM2/4/15
to puppe...@googlegroups.com
Mike Andrewjeski commented on New Feature PUP-2997
 
Re: Logdest cannot be set in the puppet.conf

I know Cecilia Cottle has raised this a an issue for several puppetlabs customers, and I just want to add that we (BusinessWire) would also like to see this resolved. While we can modify the init script to handle, we'd rather not.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a)
Atlassian logo

Bartlomiej Sternal (JIRA)

unread,
Jun 29, 2015, 9:37:15 AM6/29/15
to puppe...@googlegroups.com

I second the request. This is an annoyance for us at Dynatrace, on windows machines in particular. Puppet spams the event log making it hard to find anything worthwhile.

This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d)
Atlassian logo

Darrin Chambers (JIRA)

unread,
Dec 3, 2015, 4:17:10 PM12/3/15
to puppe...@googlegroups.com

We just switched to Splunk for log tracking and this is an issue for us.

This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc)
Atlassian logo

Charlie Sharpsteen (JIRA)

unread,
Dec 3, 2015, 4:29:04 PM12/3/15
to puppe...@googlegroups.com
Charlie Sharpsteen assigned an issue to Unassigned
 
Puppet / New Feature PUP-2997
Change By: Charlie Sharpsteen
Assignee: Charlie Sharpsteen
Scrum Team: Client Platform

Charlie Sharpsteen (JIRA)

unread,
Jan 12, 2017, 5:10:03 PM1/12/17
to puppe...@googlegroups.com
Charlie Sharpsteen updated an issue
Change By: Charlie Sharpsteen
Affects Version/s: PUP 3.8.7
Affects Version/s: PUP 4.8.1
CS Priority: Needs Priority
Team: Agent & Platform
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Eric Sorenson (JIRA)

unread,
Jan 30, 2017, 7:33:03 PM1/30/17
to puppe...@googlegroups.com
Eric Sorenson updated an issue
Change By: Eric Sorenson
Team: Agent & Platform Analytics

Eric Sorenson (JIRA)

unread,
Jan 30, 2017, 7:34:04 PM1/30/17
to puppe...@googlegroups.com
Eric Sorenson updated an issue
Change By: Eric Sorenson
Sprint: AP Grooming 2017-02-01

Eric Sorenson (JIRA)

unread,
Jan 30, 2017, 7:34:12 PM1/30/17
to puppe...@googlegroups.com
Eric Sorenson updated an issue
Change By: Eric Sorenson
Team: Analytics Agent & Platform

Eric Sorenson (JIRA)

unread,
Jan 30, 2017, 7:35:06 PM1/30/17
to puppe...@googlegroups.com
Eric Sorenson commented on New Feature PUP-2997
 
Re: Logdest cannot be set in the puppet.conf

Closing this as won't fix. Sorry, but there are viable workarounds (just specify it on the command line) and the interaction between settings and logging create lots of chicken-and-egg problems (which is why this situation arose in the first place).

Geoff Nichols (JIRA)

unread,
Mar 29, 2017, 1:21:03 AM3/29/17
to puppe...@googlegroups.com
Geoff Nichols updated an issue
 
Change By: Geoff Nichols
Sprint: Agent Grooming

Ryan Coleman (JIRA)

unread,
Apr 21, 2017, 5:06:02 PM4/21/17
to puppe...@googlegroups.com
Ryan Coleman commented on New Feature PUP-2997
 
Re: Logdest cannot be set in the puppet.conf

Eric Sorenson, are any of the viable workarounds documented? If not, could you point me at a ticket to track adding those to the appropriate part of the docs?

Eric Sorenson (JIRA)

unread,
Apr 24, 2017, 4:19:03 PM4/24/17
to puppe...@googlegroups.com
Eric Sorenson commented on New Feature PUP-2997

Ryan Coleman it's in the description - you can use a command line argument.

Charlie Sharpsteen (JIRA)

unread,
Aug 4, 2017, 3:17:02 PM8/4/17
to puppe...@googlegroups.com

There's one use case that we don't have a great workaround for: ensuring puppet logs go to the same source regardless of how the command is invoked.

If you want Puppet daemon logs to go to a specific file, that's easy enough to configure by adding -

logdest to /etc/sysconfig or a similar location. However, if you also want all invocations of puppet agent -t to log to the same file, then you're stuck in a bit of a bind. You could tell everyone to make sure they pass -logdest when running puppet, but that's going to have a high failure rate. You could write a wrapper for the Puppet command that ensures the flag is added, but that's a bit of site-specific work and carries the risk of breaking the system in ways that are hard to debug.

Being able to set the log destinations in the central Puppet configuration file would be a really nice solution to this problem.

Robert J (JIRA)

unread,
Mar 23, 2018, 4:23:02 PM3/23/18
to puppe...@googlegroups.com
Robert J commented on New Feature PUP-2997

Amazing that people are requesting this and Puppetlabs has deemed it not worth fixing. There are some pretty good reasons WHY using the CLI is not a good workaround which have already been stated.

This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Eric Sorenson (JIRA)

unread,
Mar 23, 2018, 4:32:04 PM3/23/18
to puppe...@googlegroups.com
Eric Sorenson updated an issue
 
Change By: Eric Sorenson
Sprint: Platform Core Hopper

Eric Sorenson (JIRA)

unread,
Mar 23, 2018, 4:32:05 PM3/23/18
to puppe...@googlegroups.com
Eric Sorenson updated an issue
Change By: Eric Sorenson
Team: Agent Coremunity

Charlie Sharpsteen (JIRA)

unread,
Mar 23, 2018, 4:47:04 PM3/23/18
to puppe...@googlegroups.com
Charlie Sharpsteen updated an issue
Change By: Charlie Sharpsteen
Affects Version/s: PUP 4.10.10
Affects Version/s: PUP 5.5.0

Owen Rodabaugh (JIRA)

unread,
Mar 27, 2018, 11:25:04 AM3/27/18
to puppe...@googlegroups.com
Owen Rodabaugh updated an issue
Change By: Owen Rodabaugh
CS Priority: Needs Priority Normal
CS Impact: Users sometimes want to send their logs to a different location and have this work for ALL invocations of puppet(daemon or CLI). Example cases mentioned in this ticket are to send everything to splunk, or to make the puppet logs available to less privileged users. The wrapper script that was added in Puppet 5 could be modified to source a logdest from some other file such as puppet.conf or if that isn't workable something like environment settings such as sysconfig
CS Severity: 3 - Serious
CS Business Value: 4 - $$$$$
CS Frequency: 2 - 5-25% of Customers

R.I.Pienaar (JIRA)

unread,
Mar 27, 2018, 11:29:03 AM3/27/18
to puppe...@googlegroups.com
R.I.Pienaar commented on New Feature PUP-2997
 
Re: Logdest cannot be set in the puppet.conf

The chicken and egg here is that, where do you log when you can't find the config file to tell you where to log? or cant read it? etc

Logging it to a default fallback STDERR would be wrong - because then if someone monitors splunk they dont know about it.

Specifying it on the CLI only ensures that in all cases the right thing can be done (or at least tried).

Robert J (JIRA)

unread,
Mar 27, 2018, 11:34:05 AM3/27/18
to puppe...@googlegroups.com
Robert J commented on New Feature PUP-2997

Then you default log it to the system syslog like it does now...

R.I.Pienaar (JIRA)

unread,
Mar 27, 2018, 11:36:03 AM3/27/18
to puppe...@googlegroups.com
R.I.Pienaar commented on New Feature PUP-2997

But it doesn't in so many cases puppet apply, puppet agent --test, etcetc. There's no right thing that handles all cases other than let people tell it what to do always.

R.I.Pienaar (JIRA)

unread,
Mar 27, 2018, 11:38:04 AM3/27/18
to puppe...@googlegroups.com
R.I.Pienaar commented on New Feature PUP-2997

And if someone goes to the trouble of setting up lets say splunk logging or whatever, and make Puppet log there, it's a safe assumption thats where they want to look for problems with puppet.

Fall back default that is not where they look for critical errors is grossly irresponsible.

I don't care either way, I am just pointing out why things are as they are for some context

Craig Gomes (JIRA)

unread,
Apr 2, 2018, 5:47:06 PM4/2/18
to puppe...@googlegroups.com
Craig Gomes updated an issue
 
Change By: Craig Gomes
Fix Version/s: PUP 5.5.z

Jacob Helwig (JIRA)

unread,
Sep 24, 2018, 4:02:09 PM9/24/18
to puppe...@googlegroups.com
Jacob Helwig assigned an issue to Jacob Helwig
Change By: Jacob Helwig
Assignee: Jacob Helwig

Jacob Helwig (JIRA)

unread,
Sep 24, 2018, 4:02:11 PM9/24/18
to puppe...@googlegroups.com
Jacob Helwig updated an issue
Change By: Jacob Helwig
Sprint: Platform Core Hopper KANBAN

Jacob Helwig (JIRA)

unread,
Oct 2, 2018, 12:37:08 PM10/2/18
to puppe...@googlegroups.com
Jacob Helwig updated an issue
Change By: Jacob Helwig
Release Notes Summary: The `--logdest` argument can now also be set in the puppet.conf file as the `logdest` setting.
Release Notes: New Feature

Josh Cooper (JIRA)

unread,
Oct 16, 2018, 5:44:10 PM10/16/18
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 5.5.z
Fix Version/s: PUP 5.5.7

Josh Cooper (JIRA)

unread,
Oct 16, 2018, 5:44:14 PM10/16/18
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 6.0.3

Jacob Helwig (JIRA)

unread,
Oct 23, 2018, 12:09:04 PM10/23/18
to puppe...@googlegroups.com
Jacob Helwig commented on New Feature PUP-2997
 
Re: Logdest cannot be set in the puppet.conf

Merged to 5.5.x in 72c9376bf1.
Merged to 6.0.x in d2c97237f5.

Austin Boyd (JIRA)

unread,
Dec 12, 2019, 8:22:05 AM12/12/19
to puppe...@googlegroups.com
Austin Boyd updated an issue
 
Change By: Austin Boyd
Zendesk Ticket IDs: 34390
Zendesk Ticket Count: 1
Reply all
Reply to author
Forward
0 new messages