Class PerfTask
An abstract task to be tested for performance.
Inheritance
Implements
Inherited Members
Namespace: Lucene.Net.Benchmarks.ByTask.Tasks
Assembly: Lucene.Net.Benchmark.dll
Syntax
public abstract class PerfTask : IDisposable
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
Constructors
PerfTask(PerfRunData)
An abstract task to be tested for performance.
Declaration
protected PerfTask(PerfRunData runData)
Parameters
Type | Name | Description |
---|---|---|
PerfRunData | runData |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
Fields
NEW_LINE
An abstract task to be tested for performance.
Declaration
protected static readonly string NEW_LINE
Field Value
Type | Description |
---|---|
string |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
m_logStep
An abstract task to be tested for performance.
Declaration
protected int m_logStep
Field Value
Type | Description |
---|---|
int |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
m_params
An abstract task to be tested for performance.
Declaration
protected string m_params
Field Value
Type | Description |
---|---|
string |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
Properties
AlgLineNum
An abstract task to be tested for performance.
Declaration
public virtual int AlgLineNum { get; set; }
Property Value
Type | Description |
---|---|
int |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
BackgroundDeltaPriority
An abstract task to be tested for performance.
Declaration
public virtual int BackgroundDeltaPriority { get; }
Property Value
Type | Description |
---|---|
int |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
Depth
Gets or Sets the depth.
Declaration
public virtual int Depth { get; set; }
Property Value
Type | Description |
---|---|
int |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
DisableCounting
Return true
if counting is disabled for this task.
Declaration
public virtual bool DisableCounting { get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
Params
Gets the Params.
Declaration
public virtual string Params { get; }
Property Value
Type | Description |
---|---|
string |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
RunData
Gets the run data.
Declaration
public virtual PerfRunData RunData { get; }
Property Value
Type | Description |
---|---|
PerfRunData |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
RunInBackground
An abstract task to be tested for performance.
Declaration
public virtual bool RunInBackground { get; }
Property Value
Type | Description |
---|---|
bool |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
ShouldNeverLogAtStart
Tasks that should never log at start can override this.
Returns true
if this task should never log when it start.
Declaration
protected virtual bool ShouldNeverLogAtStart { get; }
Property Value
Type | Description |
---|---|
bool |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
ShouldNotRecordStats
Tasks that should not record statistics can override this.
Returns true
if this task should never record its statistics.
Declaration
protected virtual bool ShouldNotRecordStats { get; }
Property Value
Type | Description |
---|---|
bool |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
Stop
An abstract task to be tested for performance.
Declaration
protected bool Stop { get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
SupportsParams
Sub classes that support parameters must override this method to return
true
if this task supports command line params.
Declaration
public virtual bool SupportsParams { get; }
Property Value
Type | Description |
---|---|
bool |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
Methods
Clone()
An abstract task to be tested for performance.
Declaration
public virtual object Clone()
Returns
Type | Description |
---|---|
object |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
Dispose(bool)
An abstract task to be tested for performance.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
DoLogic()
Perform the task once (ignoring repetitions specification). Return number of work items done by this task. For indexing that can be number of docs added. For warming that can be number of scanned items, etc.
Declaration
public abstract int DoLogic()
Returns
Type | Description |
---|---|
int | Number of work items done by this task. |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
GetLogMessage(int)
An abstract task to be tested for performance.
Declaration
protected virtual string GetLogMessage(int recsCount)
Parameters
Type | Name | Description |
---|---|---|
int | recsCount |
Returns
Type | Description |
---|---|
string |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
GetName()
Returns the name.
Declaration
public virtual string GetName()
Returns
Type | Description |
---|---|
string |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
RunAndMaybeStats(bool)
Run the task, record statistics.
Declaration
public int RunAndMaybeStats(bool reportStats)
Parameters
Type | Name | Description |
---|---|---|
bool | reportStats |
Returns
Type | Description |
---|---|
int | Number of work items done by this task. |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
SetName(string)
Sets the name.
Declaration
protected virtual void SetName(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name to set. |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
SetParams(string)
Set the params of this task.
Declaration
public virtual void SetParams(string @params)
Parameters
Type | Name | Description |
---|---|---|
string | params |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
Exceptions
Type | Condition |
---|---|
NotSupportedException | For tasks supporting command line parameters. |
SetRunInBackground(int)
An abstract task to be tested for performance.
Declaration
public virtual void SetRunInBackground(int deltaPri)
Parameters
Type | Name | Description |
---|---|---|
int | deltaPri |
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
Setup()
Task setup work that should not be measured for that specific task. By default it does nothing, but tasks can implement this, moving work from DoLogic() to this method. Only the work done in DoLogic() is measured for this task. Notice that higher level (sequence) tasks containing this task would then measure larger time than the sum of their contained tasks.
Declaration
public virtual void Setup()
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
StopNow()
An abstract task to be tested for performance.
Declaration
public virtual void StopNow()
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
TearDown()
Task teardown work that should not be measured for that specific task. By
default it does nothing, but tasks can implement this, moving work from
DoLogic() to this method. Only the work done in DoLogic()
is measured for this task. Notice that higher level (sequence) tasks
containing this task would then measure larger time than the sum of their
contained tasks.
Declaration
public virtual void TearDown()
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |
Overrides
Remarks
Every performance task extends this class, and provides its own DoLogic() method, which performs the actual task.
Tasks performing some work that should be measured for the task, can override Setup() and/or TearDown() and place that work there. Relevant properties:- task.max.depth.log
- log.step specifies how often to log messages about the current running task. Default is 1000 DoLogic() invocations. Set to -1 to disable logging.
- log.step.[class Task Name] specifies the same as 'log.step', only for a particular task name. For example, log.step.AddDoc will be applied only for AddDocTask. It's a way to control per task logging settings. If you want to omit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).