Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 533
pars Avatar asked Jun 15 '10 08:06

pars


1 Answers

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

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

like image 185
Mark Byers Avatar answered Oct 20 '22 06:10

Mark Byers