The Puppet Labs Issue Tracker has Moved:

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using See the following page for information on filing tickets with JIRA:

Feature #6607

Add support to control verbosity of masterhttp.log

Added by armando migliaccio about 5 years ago. Updated over 4 years ago.

Status:AcceptedStart date:03/05/2011
Priority:NormalDue date:
Assignee:-% Done:


Target version:3.x
Affected Puppet version:0.25.5 Branch:

We've Moved!

Ticket tracking is now hosted in JIRA:


I am trying to reduce the verbosity of masterhttp.log by adding the option ‘rails_loglevel = err’ to the main section of puppet.conf (I tried also puppetd and puppetmasterd for that matter). However when I run:

puppet --configprint rails_loglevel

It keeps saying ‘info’ regardless of that I pass in the config file. I looked at puppet init scripts thinking that it would get overwritten, but that does not seem to be the case. I can’t seem to find a way to change the log level, as the master keeps printing pretty much every thing it can.

Is there any way I can tune the log level down? Is this a bug or a misconfiguration?


#1 Updated by James Turnbull about 5 years ago

  • Category set to logging
  • Status changed from Unreviewed to Needs More Information

The rails_loglevel is unrelated to masterhttp.log. The Rails log level is used for the Rails ORM which is mostly used for Stored Configurations.

I don’t think the current masterhttplog file’s verbosity can be configured but I will check.

#2 Updated by armando migliaccio about 5 years ago

Is there any information I can provide from my side?


#3 Updated by James Turnbull about 5 years ago

  • Tracker changed from Bug to Feature
  • Subject changed from Cannot control verbosity of masterhttp.log to Add support to control verbosity of masterhttp.log
  • Status changed from Needs More Information to Needs Decision
  • Assignee set to Nigel Kersten

Okay I checked there isn’t a way to change the verbosity of the logging.

It would be simple to add:

  1. Add an option in lib/puppet/defaults.rb for masterhttploglevel or something better named.
  2. Edit the httplog method in lib/puppet/network/http_server/webrick.rb.
  3. Then add a test in spec/unit/network/http/webrick_spec.rb

#4 Updated by armando migliaccio about 5 years ago

That’s great, thanks for your help!

Which release are you expecting this feature to be added?

Cheers, Armando

#5 Updated by Nigel Kersten about 5 years ago

  • Status changed from Needs Decision to Accepted
  • Assignee deleted (Nigel Kersten)
  • Target version set to 2.7.x

It will be targeted at Statler, the codename for our next non-maintenance release.

#6 Updated by Devon Peters over 4 years ago

  • Target version changed from 2.7.x to 3.x

Also available in: Atom PDF