Skip to content

rollingInterval and rollOnFileSizeLimit #70

@ranjan-2209

Description

@ranjan-2209

I have given
<add key="serilog:write-to:RollingFile.rollOnFileSizeLimit" value="true" />
and
<add key="serilog:write-to:RollingFile.rollingInterval" value="RollingInterval.Day" />

and to check if log files are created like
log.txt
log_001.txt
log_002.txt

I have given

<add key="serilog:write-to:RollingFile.fileSizeLimitBytes " value="200" />

But new rolling log files are not created

I have referred https://github.com/serilog/serilog-sinks-file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions