<?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>topic Changing the log directory in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Changing-the-log-directory/m-p/46456#M2133</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;By defaut, the Dynatrace OneAgent logs in the /opt/dynatrace/oneagent/log&lt;/P&gt;&lt;P&gt;How can I change this default behaviour ?&lt;/P&gt;&lt;P&gt;I have found a parameter in the &lt;EM&gt;ruxitagentnetwork.conf&lt;/EM&gt; file and modified like this :&lt;/P&gt;&lt;P&gt;# The path to the directory holding the log files&lt;BR /&gt;# Default: &amp;lt;agent location&amp;gt;/../../log&lt;BR /&gt;LogfilePath /stor/logs/dynatrace&lt;/P&gt;&lt;P&gt;And then restart the oneagent process :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;service oneagent stop&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;service oneagent start&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;But the OneAgent still logs in the default directory. Is there another parameter to modify ?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Fri, 15 Dec 2017 15:23:55 GMT</pubDate>
    <dc:creator>thierry_chea1</dc:creator>
    <dc:date>2017-12-15T15:23:55Z</dc:date>
    <item>
      <title>Changing the log directory</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Changing-the-log-directory/m-p/46456#M2133</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;By defaut, the Dynatrace OneAgent logs in the /opt/dynatrace/oneagent/log&lt;/P&gt;&lt;P&gt;How can I change this default behaviour ?&lt;/P&gt;&lt;P&gt;I have found a parameter in the &lt;EM&gt;ruxitagentnetwork.conf&lt;/EM&gt; file and modified like this :&lt;/P&gt;&lt;P&gt;# The path to the directory holding the log files&lt;BR /&gt;# Default: &amp;lt;agent location&amp;gt;/../../log&lt;BR /&gt;LogfilePath /stor/logs/dynatrace&lt;/P&gt;&lt;P&gt;And then restart the oneagent process :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;service oneagent stop&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;service oneagent start&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;But the OneAgent still logs in the default directory. Is there another parameter to modify ?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 15:23:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Changing-the-log-directory/m-p/46456#M2133</guid>
      <dc:creator>thierry_chea1</dc:creator>
      <dc:date>2017-12-15T15:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the log directory</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Changing-the-log-directory/m-p/46457#M2134</link>
      <description>&lt;P&gt;Hi Thierry,&lt;/P&gt;&lt;P&gt;There is no supported way to change just the location of OneAgent logs. If you need to change the storage location you could use INSTALL_PATH parameter, as described here: &lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/installation/oneagent/can-i-perform-a-custom-installation-with-command-line-parameters/"&gt;https://www.dynatrace.com/support/help/installatio...&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Please let me know if this solution suits you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tomasz&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2017 10:06:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Changing-the-log-directory/m-p/46457#M2134</guid>
      <dc:creator>Tomasz_Gajger</dc:creator>
      <dc:date>2017-12-22T10:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the log directory</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Changing-the-log-directory/m-p/164574#M16481</link>
      <description>&lt;P&gt;We have some news here:&amp;nbsp;&lt;A href="https://www.dynatrace.com/news/blog/improved-configurability-of-oneagent-log-file-directory-location/" target="_blank"&gt;https://www.dynatrace.com/news/blog/improved-configurability-of-oneagent-log-file-directory-location/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 12:00:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Changing-the-log-directory/m-p/164574#M16481</guid>
      <dc:creator>helga_moertensc</dc:creator>
      <dc:date>2021-04-19T12:00:27Z</dc:date>
    </item>
  </channel>
</rss>

