日志文件中的奇怪消息@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^

发布于 2024-09-05 16:51:46 字数 241 浏览 2 评论 0原文

我有一个基于 Apache Mina 用 Ja​​va 编写的用于网络操作的应用服务器。最近我在日志文件中遇到了一个奇怪的行为。我注意到日志文件充满了@^@^@^@^@^@^@^@^@^@^@^@^...字符。我的意思是,这些意外字符数量巨大,因此日志文件在几个小时内就会达到数百 GB!我对这个问题一无所知,几乎不可能用谷歌搜索它。可能是什么原因?这些角色大家都熟悉吗?

如果需要,我可以提供有关该应用程序的更多详细信息。

提前致谢。

I have a application server for network operations written with Java based on Apache Mina. Recently I encounter a strange behavior in my log files. I noticed that the log file is full of @^@^@^@^@^@^@^@^@^@^@^@^.... characters. I mean those unexpected characters are vast amount of as such the log file gets hundreds of GB in a couple of hours! I have no clue about this problem and it is almost impossible to google it. What could be the reason? Are those set of characters any familiar to anybody?

I can give more details about the application if needed.

Thanks in advance.

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

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

发布评论

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

评论(1

不必你懂 2024-09-12 16:51:46

这些字符是 插入符号

在控制字符的插入记号中,空字符是 ^@。

Those characters are null characters (NUL, ASCII value 0) in caret notation.

In caret notation for control characters the null character is ^@.

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