abumq / easyloggingpp

C++ logging library. It is extremely powerful, extendable, light-weight, fast performing, thread and type safe and consists of many built-in features. It provides ability to write logs in your own customized format. It also provide support for logging your classes, third-party libraries, STL and third-party containers etc.
MIT License
3.75k stars 918 forks source link

No logs are written under several user accounts. #833

Open secuman83 opened 1 year ago

secuman83 commented 1 year ago

I am using easyloggingpp in vc++. Visual studio version is 2022. The log module is in the dll and my project has a structure in which several processes use this dll. First, load the dll from process A and save the logs to the a.log file. At this time, the log file is created and the log is stored properly. Process A runs as the "Auser" account. Second, load the dll in the B process and save the logs to B.log file. However, at this time, the log file is generated, but the logs is not written. Process B runs as the "Buser" account. In other words, if you load the same dll in processes executed with different accounts, the logs is not stored on one side. What is the cause of this?