Ai Request Logger PAth Name Update
This commit is contained in:
@@ -18,14 +18,14 @@ namespace BeWo.Service.Core
|
||||
var folder_path = Path.Combine(getLogRootPath(), "ai", "requests");
|
||||
Directory.CreateDirectory(folder_path);
|
||||
|
||||
var file_name = getUniqueFileName(folder_path, $"{DateTime.Now:yyyy.MM.dd HH_mm_ss}", 20);
|
||||
var file_name = getUniqueFileName(folder_path, $"{DateTime.Now:yyyy.MM.dd-HH_mm_ss}", 20);
|
||||
|
||||
if (file_name == null)
|
||||
return null;
|
||||
|
||||
id = SecurityUtils.CreateRandomString(10);
|
||||
id = SecurityUtils.CreateRandomString(10, true, true);
|
||||
|
||||
return Path.Combine(folder_path, $"{file_name}_{id}.log");
|
||||
return Path.Combine(folder_path, $"{file_name}-{id}.log");
|
||||
}
|
||||
|
||||
public static string GetServiceLogFile()
|
||||
|
||||
Reference in New Issue
Block a user