<?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: How to enable TRACE logging for morphlines in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-enable-TRACE-logging-for-morphlines/m-p/3717#M628</link>
    <description>To print diagnostic information, such as the content of records as they pass through the morphline commands, consider enabling TRACE log level. For example, you might add the following lines to your log4j.properties file:&lt;BR /&gt;&lt;BR /&gt;log4j.logger.com.cloudera.cdk.morphline=TRACE&lt;BR /&gt;&lt;BR /&gt;In Cloudera Manager 4 this can be done by navigating to Services -&amp;gt; Flume -&amp;gt; Configuration -&amp;gt; View and Edit -&amp;gt; Agent (Default) -&amp;gt; Advanced -&amp;gt; Agent Logging Safety Valve, followed by a restart of the Flume service.&lt;BR /&gt;&lt;BR /&gt;For HBase Near Real Time Indexing it can be done as described near the bottom of this manual page: &lt;A target="_blank" href="http://www.cloudera.com/content/cloudera-content/cloudera-docs/Search/latest/Cloudera-Search-User-Guide/csug_use_hbase_indexer_service.html"&gt;http://www.cloudera.com/content/cloudera-content/cloudera-docs/Search/latest/Cloudera-Search-User-Guide/csug_use_hbase_indexer_service.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Wolfgang&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 04 Dec 2013 19:40:35 GMT</pubDate>
    <dc:creator>whosch</dc:creator>
    <dc:date>2013-12-04T19:40:35Z</dc:date>
    <item>
      <title>How to enable TRACE logging for morphlines</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-enable-TRACE-logging-for-morphlines/m-p/3715#M627</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm getting this log statement in my logs:&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARN org.apache.flume.sink.solr.morphline.MorphlineHandlerImpl: Morphline morphlines.conf@morphline1 failed to process record:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this article (&lt;A target="_blank" href="http://blog.cloudera.com/blog/2013/07/morphlines-the-easy-way-to-build-and-integrate-etl-apps-for-apache-hadoop/&amp;nbsp;)it"&gt;http://blog.cloudera.com/blog/2013/07/morphlines-the-easy-way-to-build-and-integrate-etl-apps-for-apache-hadoop/&amp;nbsp;)it&lt;/A&gt; is suggested to increase the log level for morphlines to TRACE so you can see what happens to the message as it moves through the commands.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't find an option to do this in the admin console, and when I was looking for log4j.properties I found one in my /etc/flume-ng/conf dir, but that only contains a configuration for flume.log and it looks like it isn't used.&lt;/P&gt;&lt;P&gt;I am getting a log file with the following name:&amp;nbsp;flume-cmf-flume1-AGENT-localhost.localdomain.log, but I can't find the log4j properties that configures the logging for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea's how I can enable TRACE level logging for morphlines? I'm using the CDH 4.4 VM Image.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kristof.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 08:50:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-enable-TRACE-logging-for-morphlines/m-p/3715#M627</guid>
      <dc:creator>ktaveirn</dc:creator>
      <dc:date>2022-09-16T08:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable TRACE logging for morphlines</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-enable-TRACE-logging-for-morphlines/m-p/3717#M628</link>
      <description>To print diagnostic information, such as the content of records as they pass through the morphline commands, consider enabling TRACE log level. For example, you might add the following lines to your log4j.properties file:&lt;BR /&gt;&lt;BR /&gt;log4j.logger.com.cloudera.cdk.morphline=TRACE&lt;BR /&gt;&lt;BR /&gt;In Cloudera Manager 4 this can be done by navigating to Services -&amp;gt; Flume -&amp;gt; Configuration -&amp;gt; View and Edit -&amp;gt; Agent (Default) -&amp;gt; Advanced -&amp;gt; Agent Logging Safety Valve, followed by a restart of the Flume service.&lt;BR /&gt;&lt;BR /&gt;For HBase Near Real Time Indexing it can be done as described near the bottom of this manual page: &lt;A target="_blank" href="http://www.cloudera.com/content/cloudera-content/cloudera-docs/Search/latest/Cloudera-Search-User-Guide/csug_use_hbase_indexer_service.html"&gt;http://www.cloudera.com/content/cloudera-content/cloudera-docs/Search/latest/Cloudera-Search-User-Guide/csug_use_hbase_indexer_service.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Wolfgang&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Dec 2013 19:40:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-enable-TRACE-logging-for-morphlines/m-p/3717#M628</guid>
      <dc:creator>whosch</dc:creator>
      <dc:date>2013-12-04T19:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable TRACE logging for morphlines</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-enable-TRACE-logging-for-morphlines/m-p/3729#M629</link>
      <description>Awesome!&lt;BR /&gt;Thank you Wolfgang</description>
      <pubDate>Thu, 05 Dec 2013 10:05:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-enable-TRACE-logging-for-morphlines/m-p/3729#M629</guid>
      <dc:creator>ktaveirn</dc:creator>
      <dc:date>2013-12-05T10:05:02Z</dc:date>
    </item>
  </channel>
</rss>

