Event Log configuration
- Last UpdatedSep 06, 2023
- 1 minute read
These parameters direct AVEVA™ Production Management to output logging data to Windows Event Viewer and third-party tools.
For more information, see Use Seq logging tool.
|
Log |
Description |
Default level reported |
|---|---|---|
|
Event Log |
Windows Event Viewer. Enabled by default. |
Warnings and Errors |
|
Seq |
Third-party logging tool. Disabled by default. |
Information |
|
ElasticSearch |
Third-party logging tool. Disabled by default. |
Information |
<!-- Event Log configuration -->
<add key="serilog:using:EventLog" value="Serilog.Sinks.EventLog" />
<add key="serilog:write-to:EventLog.source" value="Ampla Server" />
<add key="serilog:write-to:EventLog.outputTemplate" value="{Message}{NewLine}{Exception}" />
<add key="serilog:write-to:EventLog.restrictedToMinimumLevel" value="Warning" />
<!-- Default Seq address is http://localhost:5341 -->
<!--add key="serilog:using:Seq" value="Serilog.Sinks.Seq" />
<add key="serilog:write-to:Seq.serverUrl" value="http://localhost:5341/" />
<add key="serilog:write-to:Seq.compact" value="True" />
<add key="serilog:write-to:Seq.restrictedToMinimumLevel" value="Information" /-->
<!-- Default Elasticsearch address is http://localhost:9200 -->
<!--add key="serilog:using" value="Serilog.Sinks.Elasticsearch"/>
<add key="serilog:write-to:Elasticsearch.nodeUris" value="http://localhost:9200"/>
<add key="serilog:write-to:Elasticsearch.restrictedToMinimumLevel" value="Information"/-->
<add key="ServiceBusDefaultTransactionTimeout" value="30" />