update 20241003

This commit is contained in:
Stefan Hutter
2024-10-03 16:59:24 +02:00
parent 765a5ef350
commit 4fbeb345ee
237 changed files with 44064 additions and 1107832 deletions

View File

@@ -21,9 +21,13 @@ namespace OnDoc
public static void InitLogging()
{
DB db = new DB(AppParams.connectionstring);
db.Get_Tabledata("Select * from nlog_parameter", false, true);
db.Get_Tabledata("Select * from nlog_parameter WHERE ID=1", false, true);
Logging.Logging.IntLogLevel = db.dsdaten.Tables[0].Rows[0]["LogLevel"].ToString();
Logging.Logging.IntUserID = db.dsdaten.Tables[0].Rows[0]["LogUserID"].ToString();
db.Get_Tabledata("Select * from nlog_parameter WHERE ID=2", false, true);
Logging.DocLog.IntLogLevel = db.dsdaten.Tables[0].Rows[0]["LogLevel"].ToString();
Logging.DocLog.IntUserID = db.dsdaten.Tables[0].Rows[0]["LogUserID"].ToString();
db = null;
}
public Start()