<?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 store library access by user in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-to-store-library-access-by-user/m-p/567949#M11601</link>
    <description>&lt;P&gt;I can only suggest to revert back to the original configuration. Restore the original config files, verify that the server starts, and then implement one small change after the other.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jun 2019 15:14:12 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-06-21T15:14:12Z</dc:date>
    <item>
      <title>How to store library access by user</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-store-library-access-by-user/m-p/563482#M10886</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to save the library access by user?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to be able to gather info by day and user for any given library.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use SAS 9.4 and we don't have SAS Log active / installed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 10:14:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-store-library-access-by-user/m-p/563482#M10886</guid>
      <dc:creator>dpmf</dc:creator>
      <dc:date>2019-06-04T10:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to store library access by user</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-store-library-access-by-user/m-p/563493#M10887</link>
      <description>&lt;P&gt;How is your SAS set up? Do you have a central BI Server, or distributed desktop installations?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 12:13:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-store-library-access-by-user/m-p/563493#M10887</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-06-04T12:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to store library access by user</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-store-library-access-by-user/m-p/563495#M10888</link>
      <description>&lt;P&gt;I'm a (new) sas Admin in a Telecom Company. I have access to the SAS server but every user has its SAS EG installed in the desktop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would want to have that config on the server side. We have one physical server with 7 App servers inside (sasapp, sasapp01, .... , sasapp06).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per the help page&amp;nbsp;&lt;A href="https://blogs.sas.com/content/sgf/2015/09/30/part-1-auditing-data-access-who-did-what-and-when/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2015/09/30/part-1-auditing-data-access-who-did-what-and-when/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do have a&amp;nbsp;logconfig.apm.xml on each app server, folder&amp;nbsp;/opt/sas/sasconfig/SASAPP/Lev1/SASAPP/WorkspaceServer/ but no '&lt;STRONG&gt;Audit.Data.Dataset' &lt;/STRONG&gt;logger specified.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards and thanks in advance,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 12:24:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-store-library-access-by-user/m-p/563495#M10888</guid>
      <dc:creator>dpmf</dc:creator>
      <dc:date>2019-06-04T12:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to store library access by user</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-store-library-access-by-user/m-p/563505#M10890</link>
      <description>&lt;P&gt;Basically, you can do what the blog post does with the Stored Process Server.&lt;/P&gt;
&lt;P&gt;BUT:&lt;/P&gt;
&lt;P&gt;the Stored Process Server runs with a generic userid (typically sassrv), so all STP instances can write/append to the same log file. Workspace servers run with individual users, so you need to take care of that.&lt;/P&gt;
&lt;P&gt;My solution would be to create separate rolling logs for each user in a directory that has "other" write permission.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 12:52:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-store-library-access-by-user/m-p/563505#M10890</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-06-04T12:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to store library access by user</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-store-library-access-by-user/m-p/567913#M11592</link>
      <description>&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, i've tried to add this to the file logconfig.xml (it's this one that is eing called on sasv9)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;appender class="RollingFileAppender" name="TimeBasedRollingFile"&amp;gt;&lt;BR /&gt;&amp;lt;param name="Append" value="false"/&amp;gt;&lt;BR /&gt;&amp;lt;param name="Unique" value="true"/&amp;gt;&lt;BR /&gt;&amp;lt;param name="ImmediateFlush" value="true"/&amp;gt;&lt;BR /&gt;&amp;lt;rollingPolicy class="TimeBasedRollingPolicy"&amp;gt;&lt;BR /&gt;&amp;lt;param name="FileNamePattern" value="/opt/sas/sasconfig/sasappdv/Lev1/SASAppDV/WorkspaceServer/slogs/sasappdv_%u_%S{hostname}_%S{pid}.log"/&amp;gt;&lt;BR /&gt;&amp;lt;/rollingPolicy&amp;gt;&lt;BR /&gt;&amp;lt;layout&amp;gt;&lt;BR /&gt;&amp;lt;param name="ConversionPattern" value="%d %-5p [%t] %X{Client.ID}:%u - %m"/&amp;gt;&lt;BR /&gt;&amp;lt;/layout&amp;gt;&lt;BR /&gt;&amp;lt;/appender&amp;gt;&lt;/P&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;&amp;lt;logger name="Audit.Data.Dataset.Open" additivity="false"&amp;gt;&lt;BR /&gt;&amp;lt;appender-ref ref="TimeBasedRollingFile"/&amp;gt;&lt;BR /&gt;&amp;lt;level value="Trace"/&amp;gt;&lt;BR /&gt;&amp;lt;/logger&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And i keep getting the error on ObjectSpawner_console.log:&lt;/P&gt;&lt;P&gt;ERROR: Invalid option value "/opt/sas/sasconfig/sasappdv/Lev1/SASAppDV/WorkspaceServer/logconfig.xml" for SAS option LOGCONFIGLOC.&lt;BR /&gt;ERROR: (SASXKRIN): KERNEL RESOURCE INITIALIZATION FAILED.&lt;BR /&gt;ERROR: Unable to initialize the SAS kernel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and this one on the daily server log:&lt;/P&gt;&lt;P&gt;The launch of the server (SASAppDV - Workspace Server) process failed due to a problem with the processing of the SAS Logging Facility configuration file (LOGCONFIGLOC).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I gave chmod 777 to the 'slogs' folder and 'setfacl rwx' to all parties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any tip about this??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 13:47:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-store-library-access-by-user/m-p/567913#M11592</guid>
      <dc:creator>dpmf</dc:creator>
      <dc:date>2019-06-21T13:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to store library access by user</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-store-library-access-by-user/m-p/567926#M11596</link>
      <description>&lt;P&gt;What about the ownership and permissions of the logconfig.xml file itself?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 14:25:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-store-library-access-by-user/m-p/567926#M11596</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-06-21T14:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to store library access by user</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-store-library-access-by-user/m-p/567939#M11600</link>
      <description>&lt;P&gt;ownership is sas:sas_adm&amp;nbsp;&lt;/P&gt;&lt;P&gt;and permissions where&amp;nbsp;-rw-r--r-- 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;changed it to 777 and didn't work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 15:00:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-store-library-access-by-user/m-p/567939#M11600</guid>
      <dc:creator>dpmf</dc:creator>
      <dc:date>2019-06-21T15:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to store library access by user</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-store-library-access-by-user/m-p/567949#M11601</link>
      <description>&lt;P&gt;I can only suggest to revert back to the original configuration. Restore the original config files, verify that the server starts, and then implement one small change after the other.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 15:14:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-store-library-access-by-user/m-p/567949#M11601</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-06-21T15:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to store library access by user</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-store-library-access-by-user/m-p/570521#M11966</link>
      <description>&lt;P&gt;Hi Kurt,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had to undo that because i simply couldn't make it work. And i don't know XML or sintaxes to being able to insert only N lines each time...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've opened a ticket to SAS support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 12:41:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-store-library-access-by-user/m-p/570521#M11966</guid>
      <dc:creator>dpmf</dc:creator>
      <dc:date>2019-07-02T12:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to store library access by user</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-store-library-access-by-user/m-p/578001#M13284</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've changed the logconfig.xml to this, as per other thread similar to this on this site:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;appender name="AuditLibraryFile" class="FileAppender"&amp;gt;&lt;BR /&gt;&amp;lt;param name="Append" value="true"/&amp;gt;&lt;BR /&gt;&amp;lt;param name="ImmediateFlush" value="true"/&amp;gt;&lt;BR /&gt;&amp;lt;param name="FilePermissions" value="A::u::rw-,A::g::rw-,A::o::rw-"/&amp;gt;&lt;BR /&gt;&amp;lt;param name="fileNamePattern" value="somepath/slogs/audit.dataset_%d_%S{hostname}_%S{pid}.log"/&amp;gt;&lt;BR /&gt;&amp;lt;layout&amp;gt;&lt;BR /&gt;&amp;lt;param name="ConversionPattern"&lt;BR /&gt;value="%d!%c!%u!jobid=%S{jobid} Action=%E{Audit.Dataset.Action} Status=%E{Audit.Dataset.Status} Libref=%E{Audit.Dataset.Libref} Engine=%E{Audit.Dataset.Engine} Member=%E{Audit.Dataset.Member} MemberType=%E{Audit.Dataset.Memtype} Openmode=%E{Audit.Dataset.Openmode} Path=%E{Audit.Dataset.Path} Sysrc=%E{Audit.Dataset.Sysrc} Sysmsg=%E{Audit.Dataset.Sysmsg} username=%S{user_name} " /&amp;gt;&lt;BR /&gt;&amp;lt;/layout&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/appender&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- Audit.Data.Dataset.Open logger definition --&amp;gt;&lt;BR /&gt;&amp;lt;logger name="Audit.Data.Dataset.Open" additivity="false"&amp;gt;&lt;BR /&gt;&amp;lt;appender-ref ref="AuditLibraryFile"/&amp;gt;&lt;BR /&gt;&amp;lt;level value="Trace"/&amp;gt;&lt;BR /&gt;&amp;lt;/logger&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- Audit.Data.Dataset.Delete logger definition --&amp;gt;&lt;BR /&gt;&amp;lt;logger name="Audit.Data.Dataset.Delete" additivity="false"&amp;gt;&lt;BR /&gt;&amp;lt;appender-ref ref="AuditLibraryFile"/&amp;gt;&lt;BR /&gt;&amp;lt;level value="Trace"/&amp;gt;&lt;BR /&gt;&amp;lt;/logger&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- Audit.Data.Dataset.Rename logger definition --&amp;gt;&lt;BR /&gt;&amp;lt;logger name="Audit.Data.Dataset.Rename" additivity="false"&amp;gt;&lt;BR /&gt;&amp;lt;appender-ref ref="AuditLibraryFile"/&amp;gt;&lt;BR /&gt;&amp;lt;level value="Trace"/&amp;gt;&lt;BR /&gt;&amp;lt;/logger&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One good news is that the logs are being generated and with the message translated from the string above.&lt;/P&gt;&lt;P&gt;But it is recording ONLY when i expand the SASAPP server and not when I expand the library (that is the objective here).&lt;/P&gt;&lt;P&gt;It prints like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2019-07-24T11:46:17,472!Audit.Data.Dataset.Open!xaccc44!jobid=20230 Action=OPEN Status=SUCCESS Libref=WORK Engine=V9 Member=_PRODSAVAIL MemberType=DATA Openmode=OUTPUT Path=/saswork/sas02/SAS_work7A3400004F06.xxxx.xxxx.xx/SAS_work083C00004F06_xxxxx.xxxxx.xx Sysrc=0 Sysmsg= username=xaccc44&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess that this ouput would be enough if instead of libref=WORK it printed the libref=library_libref.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's probably just a "technicality" that i'm missing, but it's the first time with this kind of configurations and your help would be hugely appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 10:37:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-store-library-access-by-user/m-p/578001#M13284</guid>
      <dc:creator>dpmf</dc:creator>
      <dc:date>2019-07-31T10:37:27Z</dc:date>
    </item>
  </channel>
</rss>

