Issue #4865 has been updated by Patrick Carlisle.

Merged in commit:e465598ab1b7dc8481e7fa461d0c5d38fc2cdfd5 and 
commit:f4bf4f46f0215ac54528687e04a32d6f64de2b3f


    (#4865) Log when we start evaluating resources at the info level
    
    Since we log the final time at info it makes sense to log the start at info 
as
    well.

    (#4865) Debug logging when we start evaluating resources.
    
    The `evaltrace` option allowed individual resource evaluation time to be
    tracked, which made it easier to post-hoc identify which resources took long
    periods of time to process.
    
    It is also helpful, when doing live debugging, to know where the hang 
happens;
    to support that we now log a debug message about starting the evaluation of
    the resource before we go into the process.

----------------------------------------
Feature #4865: Puppet debug mode should print resource type/title before 
resource evaluation and time taken after.
https://projects.puppetlabs.com/issues/4865

Author: James Turnbull
Status: In Topic Branch Pending Review
Priority: High
Assignee: Daniel Pittman
Category: error reporting
Target version: 2.7.x
Affected Puppet version: 2.6.1
Keywords: usability
Branch: https://github.com/puppetlabs/puppet/pull/202


1) Only on the client 
2) Time taken during each atomic activity

So:

notice: File....... 0.05s 
notice: Exec...... 1.2s

Ideally, this data would only be collected during debug mode. 

This is for the case where you have something hanging, but you can't figure out 
what it is because the debug mode in puppet only prints the statement *after* 
it has run it. This would let everyone determine the hang points, or points of 
precise optimization.

If there's already a way to get this information, that would be great too. 
--summarize just isn't quite fine grained enough.


-- 
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.

Reply via email to