diff --git a/src/IotHubMessaging.cs b/src/IotHubMessaging.cs index 924e382..ea5930f 100644 --- a/src/IotHubMessaging.cs +++ b/src/IotHubMessaging.cs @@ -317,7 +317,7 @@ namespace Opc.Ua.Publisher if (_sendTimer != null) { // send in x seconds - Trace(Utils.TraceMasks.OperationDetail, $"Retart timer to send data to IoTHub in {_defaultSendIntervalSeconds} seconds."); + Trace(Utils.TraceMasks.OperationDetail, $"Retart timer to send data to IoTHub in {_defaultSendIntervalSeconds} second(s)."); _sendTimer.Change(TimeSpan.FromSeconds(_defaultSendIntervalSeconds), TimeSpan.FromSeconds(_defaultSendIntervalSeconds)); } diff --git a/src/Opc.Ua.Publisher.csproj b/src/Opc.Ua.Publisher.csproj index 6c2f376..6e31e78 100644 --- a/src/Opc.Ua.Publisher.csproj +++ b/src/Opc.Ua.Publisher.csproj @@ -37,8 +37,8 @@ - - + + diff --git a/src/Program.cs b/src/Program.cs index 79f376c..c87dd92 100644 --- a/src/Program.cs +++ b/src/Program.cs @@ -258,7 +258,7 @@ namespace Opc.Ua.Publisher } } }, - { "st|opcstacktracemask=", $"the trace mask for the OPC stack. See github OPC .NET stack for definitions.\nTo enable IoTHub telemetry tracing set it to 711.\n(Information is enforced)\nDefault: 0x{OpcStackTraceMask:X} ({Program.OpcStackTraceMask})", (int i) => { + { "st|opcstacktracemask=", $"the trace mask for the OPC stack. See github OPC .NET stack for definitions.\nTo enable IoTHub telemetry tracing set it to 711. Information mask 0x2 is enforced.\nDefault: {OpcStackTraceMask:X} ({Program.OpcStackTraceMask})", (int i) => { if (i >= 0) { OpcStackTraceMask = i;