<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'log4j2.debug' to show Log4j2 internal initialization logging. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ERROR-StatusLogger-No-log4j2-configuration-file-found-Using/m-p/192717#M154781</link>
    <description>&lt;P&gt;&lt;A nodeid="86312" rel="user" href="#"&gt;@Navin Agarwala&lt;/A&gt; &lt;/P&gt;&lt;P&gt;	I faced a similar issue while running the flume command from the command line in HDP 2.6.&lt;/P&gt;&lt;P&gt;/usr/hdp/current/flume-server/bin/flume-ng agent --name agent --conf /usr/hdp/current/flume-server/conf/agent --conf-file /usr/hdp/current/flume-server/conf/agent/flume.conf&lt;/P&gt;&lt;P&gt;I resloved this issue by copying the log4j2.xml file in the location:  &lt;STRONG&gt;/usr/hdp/current/flume-server/conf/agent&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Aug 2018 08:20:49 GMT</pubDate>
    <dc:creator>rpulluru</dc:creator>
    <dc:date>2018-08-28T08:20:49Z</dc:date>
    <item>
      <title>ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'log4j2.debug' to show Log4j2 internal initialization logging.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-StatusLogger-No-log4j2-configuration-file-found-Using/m-p/192716#M154780</link>
      <description>&lt;P&gt;I want to load streaming data through a spool directory on to HDFS. I have been using the following configuration file for the same.&lt;BR /&gt;# Describe/configure the source &lt;/P&gt;&lt;P&gt;a1.sources.r1.type = spooldir &lt;/P&gt;&lt;P&gt;a1.sources.r1.spoolDir = /root/spool &lt;/P&gt;&lt;P&gt;a1.sources.r1.fileHeader = true &lt;/P&gt;&lt;P&gt;a1.sources.r1.interceptors = timestampInterceptor &lt;/P&gt;&lt;P&gt;a1.sources.r1.interceptors.timestampInterceptor.type = timestamp&lt;/P&gt;&lt;P&gt;# Describe the sink &lt;/P&gt;&lt;P&gt;a1.sinks.k1.type = hdfs &lt;/P&gt;&lt;P&gt;a1.sinks.k1.hdfs.path = /user/root/flume/example &lt;/P&gt;&lt;P&gt;a1.sinks.k1.hdfs.fileType= DataStream &lt;/P&gt;&lt;P&gt;a1.sinks.k1.hdfs.writeFormat= Text &lt;/P&gt;&lt;P&gt;a1.sinks.k1.hdfs.rollInterval = 30&lt;/P&gt;&lt;P&gt;# Use a channel which buffers events in memory &lt;/P&gt;&lt;P&gt;a1.channels.c1.type = memory &lt;/P&gt;&lt;P&gt;a1.channels.c1.capacity = 1000 &lt;/P&gt;&lt;P&gt;a1.channels.c1.transactionCapacity = 100 &lt;/P&gt;&lt;P&gt;# Bind the source and sink to the channel &lt;/P&gt;&lt;P&gt;a1.sources.r1.channels = c1 &lt;/P&gt;&lt;P&gt;a1.sinks.k1.channel = c1&lt;/P&gt;&lt;P&gt;Flume agent command - &lt;/P&gt;&lt;P&gt;cd /usr/hdp/current/flume-server/bin &lt;/P&gt;&lt;P&gt;./flume-ng agent --conf conf --conf-file ~/flumelogs.conf --name a1 -Dflume.root.logger=INFO,console&lt;/P&gt;&lt;P&gt;I have recently upgraded Hortonworks to version 2.6.&lt;BR /&gt;These commands worked fine for me with version 2.5 but I got the following error with the new version.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'log4j2.debug' to show Log4j2 internal initialization logging.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Could you please help me a workaround for this issue?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 20:17:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-StatusLogger-No-log4j2-configuration-file-found-Using/m-p/192716#M154780</guid>
      <dc:creator>navin14canastro</dc:creator>
      <dc:date>2018-07-17T20:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'log4j2.debug' to show Log4j2 internal initialization logging.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-StatusLogger-No-log4j2-configuration-file-found-Using/m-p/192717#M154781</link>
      <description>&lt;P&gt;&lt;A nodeid="86312" rel="user" href="#"&gt;@Navin Agarwala&lt;/A&gt; &lt;/P&gt;&lt;P&gt;	I faced a similar issue while running the flume command from the command line in HDP 2.6.&lt;/P&gt;&lt;P&gt;/usr/hdp/current/flume-server/bin/flume-ng agent --name agent --conf /usr/hdp/current/flume-server/conf/agent --conf-file /usr/hdp/current/flume-server/conf/agent/flume.conf&lt;/P&gt;&lt;P&gt;I resloved this issue by copying the log4j2.xml file in the location:  &lt;STRONG&gt;/usr/hdp/current/flume-server/conf/agent&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 08:20:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-StatusLogger-No-log4j2-configuration-file-found-Using/m-p/192717#M154781</guid>
      <dc:creator>rpulluru</dc:creator>
      <dc:date>2018-08-28T08:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'log4j2.debug' to show Log4j2 internal initialization logging.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-StatusLogger-No-log4j2-configuration-file-found-Using/m-p/281426#M209373</link>
      <description>&lt;P&gt;Where did you paste&amp;nbsp;&lt;SPAN&gt;log4j2.xml?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I solved the problem by adding the following :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;-Dlog4j.configurationFile=/usr/hdp/current/flume-server/conf/log4j2.xml&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My whole command is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/usr/hdp/current/flume-server/bin/flume-ng agent --conf conf --conf-file /home/maria_dev/flume_uygulama_01/flumelogs.conf --name a1 -Dflume.root.logger=INFO,console -Dlog4j.configurationFile=/usr/hdp/current/flume-server/conf/log4j2.xml&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Oct 2019 18:11:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-StatusLogger-No-log4j2-configuration-file-found-Using/m-p/281426#M209373</guid>
      <dc:creator>erkansirin78</dc:creator>
      <dc:date>2019-10-27T18:11:35Z</dc:date>
    </item>
  </channel>
</rss>

