Log4Perl 将多个程序的日志记录捆绑到一个日志中

发布于 2024-09-07 21:57:53 字数 144 浏览 1 评论 0原文

CPAN 上是否有任何 Logger,它允许我将多个程序的日志捆绑到一个文件中,并在两个程序同时运行并并行调用 log4Perl 时同步并行日志记录。
背景是我使用一个自定义附加程序来写入电子邮件,我想将所有电子邮件捆绑在一个文件中作为备份,以防邮件服务器出现问题。

Is there any Logger on CPAN which allows me to bundle logs from several programs into one file with synchronising parallel logging when two programs run the same time and call log4Perl in parallel.
Background is that I use a custom appender which writes Emails and I would like to bundle all emails in a single file as a backup in case the mail server has problems.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

╄→承喏 2024-09-14 21:57:53

您可以通过两种主要方式来做到这一点:

You can do that in two main ways:

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文