Question about NULL character in a log files.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Question about NULL character in a log files.

Kayak28
Hello, Community:

I am using Solr7.4.1 which uses log4j (version 2.11) as one of the
components.
Like below, some of the log files that Solr generated contain <0x00> (null
characters) in the near end of the files.

2019-10-20 06:02:03.643 INFO  (coreCloseExecutor-140-thread-4) [
 x:corename] o.a.s.m.SolrMetricManager Closing metric reporters for
registry=solr.core.corename,
tag=4c16<0x00><0x00><0x00><0x00>.......<0x00><0x00>00ff
2019-10-20 06:02:03.643 INFO  (coreCloseExecutor-140-thread-4) [
  x:corename] o.a.s.m.r.SolrJmxReporter Closing reporter
[org.apache.solr.metrics.reporters.SolrJmxReporter@17281659: rootName =
null, domain = solr.core.corename, service url = null, agent id = null] for
registry solr.core.corename/
com.codahale.metrics.MetricRegistry@6c9f45cc<0x00><0x00><0x00><0x00>......(continue
printing <0x00> untill the end of file.)

The problem is, because of this incident, I could not trace what happened
to my Solr.

Does anyone have the same issue before?
If anyone knows a way to fix this issue, Could you please let me know?

Any clue will be very appreciated.

Sincerely,
Kaya Ota