<?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 change the default logs path of HUE? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-default-logs-path-of-HUE/m-p/213797#M60103</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;@Raagul S : I'm also interested in knowing the answer.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Apr 2017 19:49:00 GMT</pubDate>
    <dc:creator>andaman21</dc:creator>
    <dc:date>2017-04-27T19:49:00Z</dc:date>
    <item>
      <title>How to change the default logs path of HUE?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-default-logs-path-of-HUE/m-p/213795#M60101</link>
      <description>&lt;P&gt;How to change the default logs path of HUE from /var/log/hue to /../../../?&lt;/P&gt;&lt;P&gt;Couldn't find any value for log path on hue.ini or log.conf.&lt;/P&gt;&lt;P&gt;Is there a way to change the config without reinstalling?&lt;/P&gt;&lt;P&gt;Please help us to change the logs path.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 13:46:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-default-logs-path-of-HUE/m-p/213795#M60101</guid>
      <dc:creator>raahul6385</dc:creator>
      <dc:date>2026-04-21T13:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default logs path of HUE?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-default-logs-path-of-HUE/m-p/213796#M60102</link>
      <description>&lt;P&gt;@allaboutbdata, @&lt;A href="http://community.hortonworks.com/users/114/dtraver.html"&gt;dtraver@hortonworks.com 
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Kindly help us on this issue.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 17:52:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-default-logs-path-of-HUE/m-p/213796#M60102</guid>
      <dc:creator>raahul6385</dc:creator>
      <dc:date>2017-04-27T17:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default logs path of HUE?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-default-logs-path-of-HUE/m-p/213797#M60103</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;@Raagul S : I'm also interested in knowing the answer.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 19:49:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-default-logs-path-of-HUE/m-p/213797#M60103</guid>
      <dc:creator>andaman21</dc:creator>
      <dc:date>2017-04-27T19:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default logs path of HUE?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-default-logs-path-of-HUE/m-p/213798#M60104</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17793/raahul6385.html" nodeid="17793"&gt;@Raagul  S&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Did you looked at &lt;A href="https://github.com/cloudera/hue/issues/193" target="_blank"&gt;https://github.com/cloudera/hue/issues/193&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 15:33:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-default-logs-path-of-HUE/m-p/213798#M60104</guid>
      <dc:creator>shyamshaw</dc:creator>
      <dc:date>2017-05-02T15:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default logs path of HUE?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-default-logs-path-of-HUE/m-p/213799#M60105</link>
      <description>&lt;P&gt;Thanks for the response. &lt;/P&gt;&lt;P&gt;As per the link mentioned, we could identify the soft links present in Hue server where the logging is happening.

ls -l /usr/lib/hue/desktop
&lt;EM&gt;lrwxrwxrwx 1 root root  12 May  2 17:02 logs -&amp;gt; /var/log/hue&lt;/EM&gt;

We tried changing it to custom path, but logging still happening in old path only (/var/log/hue).

Also, we could see a variable %LOG_DIR% declared in log.conf, which is substituting for the logging path.
But couldn't find any such environment variable.

Appreciate for the help!&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 22:50:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-default-logs-path-of-HUE/m-p/213799#M60105</guid>
      <dc:creator>raahul6385</dc:creator>
      <dc:date>2017-05-03T22:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default logs path of HUE?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-default-logs-path-of-HUE/m-p/213800#M60106</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17793/raahul6385.html" nodeid="17793"&gt;@Raagul  Sukumar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Works if you change/replace the LOG_DIR variable to something else. You can modify "/etc/hue/conf/log.conf" and replace it something like this wherever you see LOG_DIR. In my case I first created a directory "/opt/log/hue", then make the following changes.&lt;/P&gt;&lt;PRE&gt;#args=('%LOG_DIR%/shell_input.log', 'a', 1000000, 3)
args=('/opt/log/hue/shell_input.log', 'a', 1000000, 3)
&lt;/PRE&gt;&lt;P&gt;Once the changes are made, restart hue service "service hue restart"&lt;/P&gt;&lt;P&gt;You can tail access.log and it should be progressing with every click on Hue services.&lt;/P&gt;&lt;P&gt;[Please accept the answer if this works for you]&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2017 03:02:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-default-logs-path-of-HUE/m-p/213800#M60106</guid>
      <dc:creator>srai1</dc:creator>
      <dc:date>2017-05-05T03:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default logs path of HUE?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-default-logs-path-of-HUE/m-p/213801#M60107</link>
      <description>&lt;P&gt;Hello Shyam,&lt;/P&gt;&lt;P&gt;Thanks for your solution. &lt;/P&gt;&lt;P&gt;Yes, it will work and it already worked for us (yesterday) when we replace the args (%LOG_DIR%) with absolute path of some custom directory.&lt;/P&gt;&lt;P&gt;Here goes the logs from our server.&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;#args=('%LOG_DIR%/access.log', 'a', 1000000, 3) &lt;/P&gt;&lt;P&gt;args=('/var/log/hadoop/hue/access.log', 'a', 1000000, 3) &lt;/P&gt;&lt;P&gt;#args=('%LOG_DIR%/error.log', 'a', 1000000, 3) &lt;/P&gt;&lt;P&gt;args=('/var/log/hadoop/hue/error.log', 'a', 1000000, 3)&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;&lt;P&gt;As you have mentioned , the custom directory should be created before modifying in log.conf file wheres for the other components where it is possible to change from Ambari, the Amabri itself will take care of creating the log directory, ownership &amp;amp; permission. &lt;/P&gt;&lt;P&gt;Still thanking you again for your response with right solution.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;- Raagul&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2017 16:51:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-default-logs-path-of-HUE/m-p/213801#M60107</guid>
      <dc:creator>raahul6385</dc:creator>
      <dc:date>2017-05-05T16:51:34Z</dc:date>
    </item>
  </channel>
</rss>

