Skip to content

Skip FileSystemWatcher unless explicitly requested #3321

@snakefoot

Description

@snakefoot

The Windows FileSystemWatcher is not very well supported on other platforms than Windows.

To improve the compatibility of NLog on other platforms, then FileSystemWatcher should only be used when:

  • Using NLog.config with AutoReload=True
  • Using FileTarget with ConcurrentWrites=True.

Together with #3048 then NLog will work out-of-the-box without throwing exceptions by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions