Class FileConfig
Logging to file configuration object
Inherited Members
Namespace: Cognite.Extractor.Logging
Assembly: Cognite.Logging.dll
Syntax
public class FileConfig : LogConfig
Properties
| Edit this page View SourcePath
Path to the location where the logs will be saved.
Example: 'logs/log.txt'
will create log files with log
prefix followed by a date as suffix,
and txt
as extension in the logs
folder.
Declaration
public string? Path { get; set; }
Property Value
Type | Description |
---|---|
string | Path to file |
RetentionLimit
The maximum number of log files that will be retained in the log folder.
Declaration
public int RetentionLimit { get; set; }
Property Value
Type | Description |
---|---|
int | Maximum number of files |
RollingInterval
Rolling interval for log files.
Declaration
public string RollingInterval { get; set; }
Property Value
Type | Description |
---|---|
string | One of 'day', 'hour'. Defaults to 'day' |