Getrennte log files
This commit is contained in:
@@ -44,7 +44,7 @@ namespace DakotaSender
|
||||
= int.Parse(ConfigurationManager.AppSettings.Get("ProcessWaitForExitMs") ?? "10000");
|
||||
|
||||
public static string LogPath { get; }
|
||||
= ConfigurationManager.AppSettings.Get("LogPath") ?? @"C:\GkvAbrechnung\Sender\log.txt";
|
||||
= ConfigurationManager.AppSettings.Get("LogPath") ?? @"C:\GkvAbrechnung\Sender\logs";
|
||||
|
||||
public static string GkvSecretKey { get; set; } = ConfigurationManager.AppSettings.Get("GkvSecretKey");
|
||||
|
||||
|
||||
@@ -28,7 +28,9 @@ namespace DakotaSender
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
FileStream filestream = new FileStream(Config.LogPath, FileMode.Append);
|
||||
var log4day = Path.Combine(Config.LogPath, $"log_{DateTime.Today:yyyyMMdd}.txt");
|
||||
|
||||
FileStream filestream = new FileStream(log4day, FileMode.Append);
|
||||
var streamwriter = new StreamWriter(filestream);
|
||||
streamwriter.AutoFlush = true;
|
||||
|
||||
@@ -370,12 +372,12 @@ namespace DakotaSender
|
||||
|
||||
static void HandleResults()
|
||||
{
|
||||
PrintLine("Sende Ergebnisse:");
|
||||
PrintSeperator();
|
||||
|
||||
if (ten2user2req is null || !ten2user2req.Any())
|
||||
return;
|
||||
|
||||
PrintLine("Sende Ergebnisse:");
|
||||
PrintSeperator();
|
||||
|
||||
var task = HandleResultsAsync();
|
||||
|
||||
task.Wait();
|
||||
|
||||
@@ -1096,7 +1096,6 @@ namespace BeWo.Report.DefaultReports.Invoices
|
||||
this.xrPictureBox1.Name = "xrPictureBox1";
|
||||
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(218.8299F, 93.25983F);
|
||||
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
this.xrPictureBox1.SizeChanged += new DevExpress.XtraReports.UI.ChangeEventHandler(this.xrPictureBox1_SizeChanged);
|
||||
//
|
||||
// ReportHeader
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user