strange messages in log file @^@^@^@^@^@^@^@^@^@^@^@^@^@^@^

时光总嘲笑我的痴心妄想 提交于 2019-12-08 19:23:25

问题


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.


回答1:


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

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



来源:https://stackoverflow.com/questions/3043740/strange-messages-in-log-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!