<?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: How to obtain logs of all users in sas eg to identify userid and query being executed in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-obtain-logs-of-all-users-in-sas-eg-to-identify-userid-and/m-p/977290#M378465</link>
    <description>&lt;P&gt;Start here:&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/bicdc/9.4/bisag/p02ybml1gyskc6n1jmk88w7se9o8.htm" target="_blank" rel="noopener"&gt;https://documentation.sas.com/doc/en/bicdc/9.4/bisag/p02ybml1gyskc6n1jmk88w7se9o8.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are already several alternative logconfig files provided; I took one of those and modified it to get a full server-side log of all code run from EG.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Oct 2025 19:50:02 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2025-10-17T19:50:02Z</dc:date>
    <item>
      <title>How to obtain logs of all users in sas eg to identify userid and query being executed</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-obtain-logs-of-all-users-in-sas-eg-to-identify-userid-and/m-p/977283#M378461</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" tabindex="-1" role="text" data-placeholder="Traducción" aria-label="Texto traducido: I would like to request another possible alternative, which consists of saving the SAS logs (generally for all users on Linux) in which the user ID and the query being executed can be viewed. This way, we can track the analysis of a specific day and identify the user who owns the specific query.

We are currently trying to modify the sasv9.cfg file located in the path /sas94/sashome/SASFoundation/9.4. Inside the file, we add the following:

-LOGPARM='logconfig=/sasdatos/logconfig.cfg'

Now, when creating the logconfig.cfg file in the specified path, we had trouble configuring it since it consists of LOG= and LOGPARM=.

Could you please guide us with an example of how to do it step by step from the beginning? We would greatly appreciate it. We would see if we are following the correct path to obtain the desired result.

Regards," data-ved="2ahUKEwjF6Oqh16uQAxU8RjABHVZALAUQ3ewLegQICxAV"&gt;&lt;SPAN class="Y2IQFc"&gt;Hi experts,&lt;BR /&gt;&lt;BR /&gt;I would like to request another possible alternative, which consists of saving the SAS logs (generally for all users on Linux) in which the user ID and the query being executed can be viewed. This way, we can track the analysis of a specific day and identify the user who owns the specific query.

We are currently trying to modify the sasv9.cfg file located in the path /sas94/sashome/SASFoundation/9.4. Inside the file, we add the following:

-LOGPARM='logconfig=/sasdatos/logconfig.cfg'

Now, when creating the logconfig.cfg file in the specified path, we had trouble configuring it since it consists of LOG= and LOGPARM=.

Could you please guide us with an example of how to do it step by step from the beginning? We would greatly appreciate it&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 18:31:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-obtain-logs-of-all-users-in-sas-eg-to-identify-userid-and/m-p/977283#M378461</guid>
      <dc:creator>Jose7</dc:creator>
      <dc:date>2025-10-17T18:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain logs of all users in sas eg to identify userid and query being executed</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-obtain-logs-of-all-users-in-sas-eg-to-identify-userid-and/m-p/977290#M378465</link>
      <description>&lt;P&gt;Start here:&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/bicdc/9.4/bisag/p02ybml1gyskc6n1jmk88w7se9o8.htm" target="_blank" rel="noopener"&gt;https://documentation.sas.com/doc/en/bicdc/9.4/bisag/p02ybml1gyskc6n1jmk88w7se9o8.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are already several alternative logconfig files provided; I took one of those and modified it to get a full server-side log of all code run from EG.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 19:50:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-obtain-logs-of-all-users-in-sas-eg-to-identify-userid-and/m-p/977290#M378465</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2025-10-17T19:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain logs of all users in sas eg to identify userid and query being executed</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-obtain-logs-of-all-users-in-sas-eg-to-identify-userid-and/m-p/977820#M378526</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/381837"&gt;@Jose7&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;IMHO these are two plausible options&lt;/P&gt;
&lt;P&gt;1.Advise users to output EG logs to a common location. The user would be having read/write access to this location. The log should have the necessary details for to identify /associate the log with the user/program/server.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.Another alternative is to enable workspace server logging. This would consume lot of disk space.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Oct 2025 13:50:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-obtain-logs-of-all-users-in-sas-eg-to-identify-userid-and/m-p/977820#M378526</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2025-10-26T13:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain logs of all users in sas eg to identify userid and query being executed</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-obtain-logs-of-all-users-in-sas-eg-to-identify-userid-and/m-p/977830#M378528</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/131732"&gt;@Sajid01&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;.....&lt;BR /&gt;This would consume lot of disk space.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Only if&amp;nbsp;&lt;U&gt;masses&lt;/U&gt; of code are run. I used server-side logging without issues. I also set up automated archiving of logs beyond a certain age, of course.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Oct 2025 18:32:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-obtain-logs-of-all-users-in-sas-eg-to-identify-userid-and/m-p/977830#M378528</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2025-10-26T18:32:25Z</dc:date>
    </item>
  </channel>
</rss>

