You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Kayak28 <ka...@gmail.com> on 2019/11/11 03:12:09 UTC

Question about NULL character in a log files.

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