Skip to content

Conversation

@jules-goose
Copy link
Contributor

edited the sample json because the old version didn't work (capitalization error)

edited the sample json because the old version didn't work (capitalization error)
@SimonCropp
Copy link
Contributor

@jules-goose thanks

@SimonCropp SimonCropp merged commit 673dca2 into serilog:dev Nov 10, 2022
@nblumhardt
Copy link
Member

The older version is correct, these are the argument names in the ByExcluding(string expression) function call. I'm not sure why the lowercase version would be failing for you, might need to dig in deeper, I'll revert this for now.

@nblumhardt
Copy link
Member

One possibility - are you using multiple settings files with overrides and running into some unexpected conflict between them? (E.g. appsettings.json and appsettings.Development.json)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants