本文介绍了日志文件@ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^中的奇怪消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个基于Apache Mina用Java编写的用于网络操作的应用程序服务器.最近,我在日志文件中遇到了奇怪的行为.我注意到日志文件中充满了@ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ ....个字符.我的意思是这些意外字符的数量很大,例如,日志文件在几个小时之内就获得了数百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.

提前谢谢.

推荐答案

这些字符是空字符插入符号中的a>(NUL,ASCII值0).

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

这篇关于日志文件@ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^中的奇怪消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-16 21:15