<?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 Re: Routing the SAS Log to an Alternate Location in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Routing-the-SAS-Log-to-an-Alternate-Location/m-p/966484#M45946</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try using the&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/lesysoptsref/3.2/n1wm6ncy2wqzfan1dglrbdtkwnn9.htm" target="_self"&gt;ALTLOG System Option&lt;/A&gt;; from the documentation:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="xis-shortDescription"&gt;Specifies a location to write a copy of the SAS log.&lt;/P&gt;
&lt;TABLE class="xis-summary"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="xis-validIn"&gt;Valid in:&lt;/TD&gt;
&lt;TD class="xis-summaryValue"&gt;Configuration file, SAS command, SASV9_OPTIONS environment variable&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="xis-category"&gt;Category:&lt;/TD&gt;
&lt;TD class="xis-summaryValue"&gt;Environment Control: Files&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="xis-procOptionsGroup"&gt;PROC OPTIONS GROUP=&lt;/TD&gt;
&lt;TD class="xis-summaryValue"&gt;ENVFILES, LOGCONTROL&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="xis-summaryDefault"&gt;Default:&lt;/TD&gt;
&lt;TD class="xis-summaryValue"&gt;None&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="xis-summaryNote"&gt;Note:&lt;/TD&gt;
&lt;TD class="xis-summaryValue"&gt;This option cannot be restricted by a site administrator.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="xis-xrefSee"&gt;&lt;SPAN class="xis-xrefText"&gt;For more information, see&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A tabindex="0" href="https://documentation.sas.com/doc/en/lesysoptsref/3.2/n1ag2fud7ue3aln1xiqqtev7ergg.htm#n1243vjtfty6pan1ramcaeho4jte" target="_blank"&gt;Restricted Options&lt;/A&gt;&lt;SPAN class="xis-xrefText"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&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;
&lt;P&gt;Thanks &amp;amp; kind regards,&lt;/P&gt;
&lt;P&gt;Amir.&lt;/P&gt;</description>
    <pubDate>Wed, 14 May 2025 14:05:05 GMT</pubDate>
    <dc:creator>Amir</dc:creator>
    <dc:date>2025-05-14T14:05:05Z</dc:date>
    <item>
      <title>Routing the SAS Log to an Alternate Location</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Routing-the-SAS-Log-to-an-Alternate-Location/m-p/966480#M45943</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;It is possible to reroute the sas log using this statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc printto log='alternate-log-file' new;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But by doing that, in SAS EG, we are loosing the log into the various tabs.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to keek the log in SAS EG as it is and to make a copy of it somewhere else for documentation per say.&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 13:36:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Routing-the-SAS-Log-to-an-Alternate-Location/m-p/966480#M45943</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2025-05-14T13:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Routing the SAS Log to an Alternate Location</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Routing-the-SAS-Log-to-an-Alternate-Location/m-p/966483#M45945</link>
      <description>&lt;P&gt;See the approaches in this thread:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Print-the-same-SAS-Log-to-BOTH-the-log-window-and-external-file/m-p/966455/highlight/true#M376136" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Print-the-same-SAS-Log-to-BOTH-the-log-window-and-external-file/m-p/966455/highlight/true#M376136&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 14:03:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Routing-the-SAS-Log-to-an-Alternate-Location/m-p/966483#M45945</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2025-05-14T14:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Routing the SAS Log to an Alternate Location</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Routing-the-SAS-Log-to-an-Alternate-Location/m-p/966484#M45946</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try using the&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/lesysoptsref/3.2/n1wm6ncy2wqzfan1dglrbdtkwnn9.htm" target="_self"&gt;ALTLOG System Option&lt;/A&gt;; from the documentation:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="xis-shortDescription"&gt;Specifies a location to write a copy of the SAS log.&lt;/P&gt;
&lt;TABLE class="xis-summary"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="xis-validIn"&gt;Valid in:&lt;/TD&gt;
&lt;TD class="xis-summaryValue"&gt;Configuration file, SAS command, SASV9_OPTIONS environment variable&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="xis-category"&gt;Category:&lt;/TD&gt;
&lt;TD class="xis-summaryValue"&gt;Environment Control: Files&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="xis-procOptionsGroup"&gt;PROC OPTIONS GROUP=&lt;/TD&gt;
&lt;TD class="xis-summaryValue"&gt;ENVFILES, LOGCONTROL&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="xis-summaryDefault"&gt;Default:&lt;/TD&gt;
&lt;TD class="xis-summaryValue"&gt;None&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="xis-summaryNote"&gt;Note:&lt;/TD&gt;
&lt;TD class="xis-summaryValue"&gt;This option cannot be restricted by a site administrator.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="xis-xrefSee"&gt;&lt;SPAN class="xis-xrefText"&gt;For more information, see&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A tabindex="0" href="https://documentation.sas.com/doc/en/lesysoptsref/3.2/n1ag2fud7ue3aln1xiqqtev7ergg.htm#n1243vjtfty6pan1ramcaeho4jte" target="_blank"&gt;Restricted Options&lt;/A&gt;&lt;SPAN class="xis-xrefText"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&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;
&lt;P&gt;Thanks &amp;amp; kind regards,&lt;/P&gt;
&lt;P&gt;Amir.&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 14:05:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Routing-the-SAS-Log-to-an-Alternate-Location/m-p/966484#M45946</guid>
      <dc:creator>Amir</dc:creator>
      <dc:date>2025-05-14T14:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Routing the SAS Log to an Alternate Location</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Routing-the-SAS-Log-to-an-Alternate-Location/m-p/966488#M45947</link>
      <description>&lt;P&gt;Alternatively, you can use the built-in Project Log feature w/o the need for adding any coding.&lt;/P&gt;
&lt;P&gt;The Project Log feature can keep a running log for each project including the logs created for your code as well as the logs created by EG tasks.&lt;/P&gt;
&lt;P&gt;Tools &amp;gt; Options &amp;gt; Project and Process Flows &amp;gt; then select "Enable project log for new projects" &amp;gt; OK to close/save.&lt;/P&gt;
&lt;P&gt;This will add a "Project Log" tab from which you can choose&lt;/P&gt;
&lt;P&gt;Share &amp;gt; Export (or Export as a Step) based on when you want to write the Project Log to disk.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Bill&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 14:57:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Routing-the-SAS-Log-to-an-Alternate-Location/m-p/966488#M45947</guid>
      <dc:creator>BillSawyer</dc:creator>
      <dc:date>2025-05-14T14:57:17Z</dc:date>
    </item>
  </channel>
</rss>

