reduced his nord logging output
This commit is contained in:
parent
370158e0ec
commit
f71c423b9a
@ -61,7 +61,7 @@ namespace bsmd.hisnord
|
||||
// _log.DebugFormat("started {0}", transmitterProcess.ProcessName);
|
||||
int timeout = Properties.Settings.Default.BatchTimeoutMins * 1000 * 60; // convert to ms
|
||||
|
||||
_log.InfoFormat($"starting transmitter, process ID: {processId}, timeout {timeout} ms.");
|
||||
_log.DebugFormat($"starting transmitter, process ID: {processId}, timeout {timeout} ms.");
|
||||
|
||||
if (!transmitterProcess.WaitForExit((timeout == 0) ? int.MaxValue : timeout))
|
||||
{
|
||||
@ -84,7 +84,7 @@ namespace bsmd.hisnord
|
||||
private static void TransmitterProcess_OutputDataReceived(object sender, DataReceivedEventArgs e)
|
||||
{
|
||||
if(!e.Data.IsNullOrEmpty())
|
||||
_log.Info(e.Data);
|
||||
_log.Debug(e.Data);
|
||||
}
|
||||
|
||||
private static void TransmitterProcess_ErrorDataReceived(object sender, DataReceivedEventArgs e)
|
||||
@ -95,7 +95,7 @@ namespace bsmd.hisnord
|
||||
|
||||
private static void TransmitterProcess_Exited(object sender, EventArgs e)
|
||||
{
|
||||
_log.Info("Transmitter process exited");
|
||||
_log.Debug("Transmitter process exited");
|
||||
processId = null;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user