feat(inbound-api): Log global for method scripts, central ScriptLog rows when traced (D4/D5)
This commit is contained in:
@@ -36,6 +36,10 @@ public sealed class InboundApiOptionsValidator : OptionsValidatorBase<InboundApi
|
||||
$"ScadaBridge:InboundApi:StandbyForwardTimeout must be a positive duration " +
|
||||
$"(was {options.StandbyForwardTimeout}); it bounds each standby→active relay attempt.");
|
||||
|
||||
builder.RequireThat(options.MaxLogLinesPerRun > 0,
|
||||
$"ScadaBridge:InboundApi:MaxLogLinesPerRun must be greater than zero " +
|
||||
$"(was {options.MaxLogLinesPerRun}); it caps the Log.* lines one traced method execution audits.");
|
||||
|
||||
foreach (var peer in options.StandbyForwardPeerEndpoints)
|
||||
{
|
||||
var ok = Uri.TryCreate(peer, UriKind.Absolute, out var uri)
|
||||
|
||||
Reference in New Issue
Block a user