Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在为我的应用程序使用 Microsoft Enterprise Logger。我将滚动间隔设置为午夜。一切都按预期完美运行,但问题是本地机器需要时间来翻转。有没有办法根据格林威治标准时间(或任何其他更通用的时区)而不是当地时间来滚动文件?
不,滚动平面文件跟踪侦听器使用本地机器时间。对于基于任意时区的滚动,请使用提供的源并根据需要进行修改。
此外,如果您希望将来将此添加到 EntLib,请通过uservoice提出建议。