Sentry
All Neos dotnet projects are shipped with the Sentry.Serilog package.
Configuration
By default the Sentry SDK and sinks are not enabled, you can configure them for each project.
Example in development for a cluster backend appsettings.Development.json file :
{
"Serilog": {
"WriteTo": [
{
"Name": "Sentry",
"Args": {
"Dsn": "https://[email protected]/XXXXXXX",
"Debug": true
}
}
]
}
}
Example in production for a cluster backend secret :
Serilog__WriteTo__0__Name=Sentry
Serilog__WriteTo__0__Args__Dsn=https://[email protected]/XXXXXXX
The same principle applies for other dotnet projects of the Neos ecosystem (report server, gateway, ...).
Note
Please see the Sentry for Serilog documentation for all configuration options.