Skip to content

Multiple services trying to write into the same file #681

@mcastillo86

Description

@mcastillo86

I have 4 wcf services running on IIS, each one has its own appPool. Those services are in the same server and write into the same log file using serilog. I've noticed the following:
Service A writes to "log.txt" file. When service B is trying to write into that file at the same time, serilog creates a new file called "log_001.txt" . If Service C tries to write into any of those files, when locked by the other ones, it will create a new file "log_002.txt". The thing is that When service D tries to write, it can't and no "log_003.txt" is created as I would expect. My question is: does "log_003.txt" wasn't created because I need to do some additional configuration or because it is limited to 2 files only?

Best regards,
Mario

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