Issue #21709 has been updated by Sebastiaan van S.

Looks like it happened after merging (#17190) Provide on-demand profiling of 
catalog compiles 
(https://github.com/puppetlabs/puppet/commit/d2025400e34f489afc19e14291d38422b2de124f).
 In this ticket all the benchmark calls are replaced for profiler calls, but 
the benchmark calls provided the logging which are no longer handled in the 
profiler part (only if you supply ?profile as stated in the commit message). I 
guess there needs to be a decision about how to work with logging and the new 
profiler, workaround is wrapping the profiler inside the old benchmark block, 
like so:

    benchmark(:notice, str) do
      Puppet::Util::Profiler.profile(str) do
        begin
          config = Puppet::Parser::Compiler.compile(node)
        rescue Puppet::Error => detail
          Puppet.err(detail.to_s) if networked?
          raise
        end
      end
    end


----------------------------------------
Bug #21709: Master no longer logs catalog compilation time
https://projects.puppetlabs.com/issues/21709#change-94495

* Author: Cody Herriges
* Status: Investigating
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 3.2.1
* Keywords: logging
* Branch: 
----------------------------------------
The logging regressions in 3.2.1 also removed Catalog compilation time logging 
from the master output.  This have not been fixed in 3.2.3-rc1.

Puppet 3.1.1:
<pre>
Info: Caching node for orihime.local.lan
Info: Caching node for orihime.local.lan
Notice: Compiled catalog for orihime.local.lan in environment production in 
0.02 seconds
</pre>

Pupept 3.2.1:
<pre>
Info: Caching node for orihime.local.lan
Info: Caching node for orihime.local.lan
<pre>


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to