Class ExecutionLogCaptureOptions
- Namespace
- Quartz
- Assembly
- Quartz.dll
How much of what a job logs while it runs UseExecutionLogCapture() keeps with the execution's
history row.
public sealed class ExecutionLogCaptureOptions
- Inheritance
-
ExecutionLogCaptureOptions
- Inherited Members
Remarks
Two bounds, applied together: whichever is reached first drops the oldest line, and the kept text then opens with a line saying how many were dropped. The newest lines are the ones kept, because the end of a run is where a failure says what went wrong.
What is kept lives as long as its history row. The in-memory history keeps up to
MaxEntriesPerScheduler rows, so its memory is bounded by that
times MaxBytes; the persistent store keeps the text in
QRTZ_EXECUTION_HISTORY.EXECUTION_LOG.
Properties
MaxBytes
The most UTF-8 bytes kept per execution: 16 KB by default. An entry longer than this on its own is cut to fit.
public int MaxBytes { get; set; }
Property Value
MaxLines
The most log entries kept per execution: 200 by default. One entry is one log call, with the exception it carried.
public int MaxLines { get; set; }