update 20241003
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user