log zonder html
This commit is contained in:
parent
eaf1732fca
commit
9066aaf3da
1 changed files with 1 additions and 3 deletions
|
|
@ -286,7 +286,7 @@ namespace syncEdosLocal
|
|||
static void Main(string[] args)
|
||||
{
|
||||
spLog = new spl("SynceDosLocal");
|
||||
Bulker = new LSWLib.Bulker(spLog, true);
|
||||
Bulker = new LSWLib.Bulker(spLog,false);
|
||||
messages = Bulker.messages;
|
||||
messages.AppendLine(spLog.GetStartInfoString());
|
||||
|
||||
|
|
@ -313,7 +313,6 @@ namespace syncEdosLocal
|
|||
spLog.WriteSplunkLog("init", spLog.splunkSeverity, null, spLog.splunkError);
|
||||
messages.AppendLine($"Error reading reg key");
|
||||
}
|
||||
|
||||
|
||||
messages.AppendLine($"Remote {SourceCoStr.DataSource} db {SourceCoStr.InitialCatalog} Logon= { SourceCoStr.UserID} alias:{ reDos }");
|
||||
messages.AppendLine($"Local {LocalCoStr.DataSource} db {LocalCoStr.InitialCatalog} Logon= { LocalCoStr.UserID} alias:{ reDosLocal }");
|
||||
|
|
@ -352,7 +351,6 @@ namespace syncEdosLocal
|
|||
if (error) goto final;
|
||||
|
||||
final:
|
||||
|
||||
messages.AppendLine($"Process:End,tm={System.DateTime.Now.ToString("yyyy-MM-ddTHH:mm")}, Errors={error}, Warnings={warning}");
|
||||
System.Diagnostics.Debug.WriteLine(messages.ToString());
|
||||
Console.WriteLine(messages.ToString());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue