strange messages in log file @^@^@^@^@^@^@^@^@^@^@^@^@^@^@^
Asked Answered
A

1

7

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.

Augment answered 15/6, 2010 at 8:49 Comment(1)
The messages are possibly a bug in the code doing the logging or, as i've experienced, a malicious attempt to crack the app.Biathlon
J
4

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

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

Johnstone answered 15/6, 2010 at 8:51 Comment(1)
If you are using vim, try ":set nobomb" to display their real natureExterminatory

© 2022 - 2024 — McMap. All rights reserved.