<?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: User session (through EG or DI) logs to be saved in a central location along with their log wind in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667975#M19397</link>
    <description>&lt;P&gt;Start with the logconfig.trace.xml. The change from "Debug" to "Info" prevents excessive logging.&lt;/P&gt;
&lt;P&gt;With the standard logconfig.xml, you would have to implement a lot more changes, and end up with basically the same file.&lt;/P&gt;
&lt;P&gt;Believe me, I have given you the EXACT layout of our logconfig file, which works very well in production.&lt;/P&gt;
&lt;P&gt;This is the diff from trace to our file:&lt;/P&gt;
&lt;PRE&gt;10c10
&amp;lt;          &amp;lt;param name="FileNamePattern" value="/sas/conf/Lev1/SASApp/WorkspaceServer/Logs/SASApp_WorkspaceServer_%d_%S{hostname}_%S{pid}.log"/&amp;gt;
---
&amp;gt;          &amp;lt;param name="FileNamePattern" value="$HOME/logs/SASApp_WorkspaceServer_%d_%S{hostname}_%S{pid}.log"/&amp;gt;
122c122
&amp;lt;       &amp;lt;level value="Debug"/&amp;gt;
---
&amp;gt;       &amp;lt;level value="Info"/&amp;gt;
&lt;/PRE&gt;
&lt;P&gt;while this is the diff from logconfig.xml to our file:&lt;/P&gt;
&lt;PRE&gt;2c2
&amp;lt; &amp;lt;logging:configuration xmlns:logging="http://www.sas.com/xml/logging/1.0/"&amp;gt;
---
&amp;gt; &amp;lt;logging:configuration xmlns:logging="http://www.sas.com/xml/logging/1.0/" debug="true"&amp;gt;   
3a4,17
&amp;gt;    &amp;lt;!-- Rolling log file with default rollover of midnight --&amp;gt;
&amp;gt;    &amp;lt;appender class="RollingFileAppender" name="TimeBasedRollingFile"&amp;gt;
&amp;gt;       &amp;lt;param name="Append" value="false"/&amp;gt;
&amp;gt;       &amp;lt;param name="Unique" value="true"/&amp;gt;
&amp;gt;       &amp;lt;param name="ImmediateFlush" value="true"/&amp;gt;      
&amp;gt;       &amp;lt;rollingPolicy class="TimeBasedRollingPolicy"&amp;gt;
&amp;gt;          &amp;lt;param name="FileNamePattern" value="$HOME/logs/SASApp_WorkspaceServer_%d_%S{hostname}_%S{pid}.log"/&amp;gt;
&amp;gt;       &amp;lt;/rollingPolicy&amp;gt;
&amp;gt;       &amp;lt;layout&amp;gt;
&amp;gt;          &amp;lt;param name="HeaderPattern" value="Host: '%S{hostname}', OS: '%S{os_family}', Release: '%S{os_release}', SAS Version: '%S{sup_ver_long2}', Command: '%S{startup_cmd}'"/&amp;gt;
&amp;gt;          &amp;lt;param name="ConversionPattern" value="%d %-5p [%t] %X{Client.ID}:%u - %m"/&amp;gt;
&amp;gt;       &amp;lt;/layout&amp;gt;
&amp;gt;    &amp;lt;/appender&amp;gt;
&amp;gt; 
10c24
&amp;lt;       &amp;lt;/filter&amp;gt;    
---
&amp;gt;       &amp;lt;/filter&amp;gt;
69d82
&amp;lt; 
82c95
&amp;lt;       &amp;lt;level value="Error"/&amp;gt;
---
&amp;gt;       &amp;lt;level value="error"/&amp;gt;
88d100
&amp;lt;    &amp;lt;logger name="App" immutability="true"/&amp;gt;
90d101
&amp;lt;    &amp;lt;logger name="IOM" immutability="true"/&amp;gt;
93c104
&amp;lt;    &amp;lt;logger name="Admin.Operations" additivity="false"&amp;gt;
---
&amp;gt;    &amp;lt;logger name="Admin.Operations"&amp;gt;
103a115,124
&amp;gt;    &amp;lt;!-- Application message logger --&amp;gt;
&amp;gt;    &amp;lt;logger name="App" immutability="true"&amp;gt;
&amp;gt;       &amp;lt;level value="Info"/&amp;gt;
&amp;gt;    &amp;lt;/logger&amp;gt;
&amp;gt; 
&amp;gt;    &amp;lt;!-- IOM protocol message logger --&amp;gt;
&amp;gt;    &amp;lt;logger name="IOM" immutability="true"&amp;gt;
&amp;gt;       &amp;lt;level value="Info"/&amp;gt;
&amp;gt;    &amp;lt;/logger&amp;gt;
&amp;gt; 
106a128
&amp;gt;       &amp;lt;appender-ref ref="TimeBasedRollingFile"/&amp;gt; &lt;/PRE&gt;</description>
    <pubDate>Thu, 09 Jul 2020 07:28:52 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-07-09T07:28:52Z</dc:date>
    <item>
      <title>User session (through EG or DI) logs to be saved in a central location along with their log window</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667670#M19378</link>
      <description>&lt;P&gt;all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Enabled user workspace logs for the users but in the&amp;nbsp; logs, it is not capturing the actual code when they run. It is capturing only when they connected/opened a session and if they have any ERRORs in their code/session.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to capture&amp;nbsp; all session logs along with user submitted code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 10:36:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667670#M19378</guid>
      <dc:creator>sathya66</dc:creator>
      <dc:date>2020-07-08T10:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: User session (through EG or DI) logs to be saved in a central location along with their log wind</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667675#M19379</link>
      <description>&lt;P&gt;See&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=bisag&amp;amp;docsetTarget=p0atyzdgfzbsjfn1j4bbbt14ic7t.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank" rel="noopener"&gt;https://documentation.sas.com/?docsetId=bisag&amp;amp;docsetTarget=p0atyzdgfzbsjfn1j4bbbt14ic7t.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Navigate to your WorkspaceServer path in the configuration.&lt;/P&gt;
&lt;P&gt;Make a copy of the logconfig.trace.xml file (e.g. logconfig.xxx.xml).&lt;/P&gt;
&lt;P&gt;In this file, modify this block:&lt;/P&gt;
&lt;PRE&gt;   &amp;lt;!-- IOM protocol message logger --&amp;gt;
   &amp;lt;logger name="IOM" immutability="true"&amp;gt;
      &amp;lt;level value="Debug"/&amp;gt;
   &amp;lt;/logger&amp;gt;
&lt;/PRE&gt;
&lt;P&gt;from "Debug" to "Info". Additionally, change the FileNamePattern in line 10, if you want the log files in another location.&lt;/P&gt;
&lt;P&gt;Save the file.&lt;/P&gt;
&lt;P&gt;Then, add this line to your sasv9_usermods.cfg file:&lt;/P&gt;
&lt;PRE&gt;-logconfigloc "/sasconf/Lev1/SASApp/WorkspaceServer/logconfig.xxx.xml"&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Jul 2020 11:18:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667675#M19379</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-07-08T11:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: User session (through EG or DI) logs to be saved in a central location along with their log wind</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667682#M19381</link>
      <description>Thanks,&lt;BR /&gt;Above config change is to trouble shoot the workspace server issues?&lt;BR /&gt;can we do this in logconfig.xml file? as we enabled the workspace logs in this logocfig.xml file.&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jul 2020 11:42:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667682#M19381</guid>
      <dc:creator>sathya66</dc:creator>
      <dc:date>2020-07-08T11:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: User session (through EG or DI) logs to be saved in a central location along with their log wind</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667777#M19383</link>
      <description>What are your workspace server issues?</description>
      <pubDate>Wed, 08 Jul 2020 16:34:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667777#M19383</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-07-08T16:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: User session (through EG or DI) logs to be saved in a central location along with their log wind</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667813#M19384</link>
      <description>By default the Workspace Server's logconfig.xml file does not create a log file, it only writes failures to the host system log (Events in Windows, syslog in Unix).&lt;BR /&gt;&lt;BR /&gt;If you modified the default logconfig.xml to create a file it would only write those same things unless you added additional logger(s) to capture the other information you want.&lt;BR /&gt;&lt;BR /&gt;I believe App.Program set to INFO would capture the submitted code and it's result, similar to what is seen in the Enterprise Guide log output.</description>
      <pubDate>Wed, 08 Jul 2020 18:33:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667813#M19384</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2020-07-08T18:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: User session (through EG or DI) logs to be saved in a central location along with their log wind</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667943#M19393</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/93352"&gt;@sathya66&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would go with suggestion from &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;. You can rename the logconfig.trace.xx.xml to logconfig.xml if you want. Make a backup of the original one.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 03:41:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667943#M19393</guid>
      <dc:creator>AnandVyas</dc:creator>
      <dc:date>2020-07-09T03:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: User session (through EG or DI) logs to be saved in a central location along with their log wind</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667954#M19394</link>
      <description>&lt;P&gt;Setting the logger to Info catches the log sent to the client into the log file, with the addition of tinestamps. I use these logs for documentation (e.g. possibld GDPR violations) and assistance (by displaying the N last lines of the file with tail I can watch "live" what people are doing, and do not have to rely on their descriptions).&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 04:36:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667954#M19394</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-07-09T04:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: User session (through EG or DI) logs to be saved in a central location along with their log wind</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667972#M19395</link>
      <description>don't have any issues with our workspace server but above link suggests don't amend logconfig_tarce.xml until sas requests so I am just thinking to amend it logconfig.xml</description>
      <pubDate>Thu, 09 Jul 2020 07:16:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667972#M19395</guid>
      <dc:creator>sathya66</dc:creator>
      <dc:date>2020-07-09T07:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: User session (through EG or DI) logs to be saved in a central location along with their log wind</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667974#M19396</link>
      <description>&lt;P&gt;Thanks,&lt;BR /&gt;I tested it and worked.&lt;BR /&gt;I will accept this as a solution and will close this ticket .&lt;BR /&gt;one last question.&lt;BR /&gt;what is the difference between&lt;BR /&gt;logconfig.xml vs logconfig.trace.xml (I know we use logconfig.trace.xml for tracing/debugging if we have any issues with workspace)&lt;BR /&gt;and&lt;BR /&gt;sasv9.cfg vs sasv9_usermods.cfg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or there is no difference.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 07:25:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667974#M19396</guid>
      <dc:creator>sathya66</dc:creator>
      <dc:date>2020-07-09T07:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: User session (through EG or DI) logs to be saved in a central location along with their log wind</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667975#M19397</link>
      <description>&lt;P&gt;Start with the logconfig.trace.xml. The change from "Debug" to "Info" prevents excessive logging.&lt;/P&gt;
&lt;P&gt;With the standard logconfig.xml, you would have to implement a lot more changes, and end up with basically the same file.&lt;/P&gt;
&lt;P&gt;Believe me, I have given you the EXACT layout of our logconfig file, which works very well in production.&lt;/P&gt;
&lt;P&gt;This is the diff from trace to our file:&lt;/P&gt;
&lt;PRE&gt;10c10
&amp;lt;          &amp;lt;param name="FileNamePattern" value="/sas/conf/Lev1/SASApp/WorkspaceServer/Logs/SASApp_WorkspaceServer_%d_%S{hostname}_%S{pid}.log"/&amp;gt;
---
&amp;gt;          &amp;lt;param name="FileNamePattern" value="$HOME/logs/SASApp_WorkspaceServer_%d_%S{hostname}_%S{pid}.log"/&amp;gt;
122c122
&amp;lt;       &amp;lt;level value="Debug"/&amp;gt;
---
&amp;gt;       &amp;lt;level value="Info"/&amp;gt;
&lt;/PRE&gt;
&lt;P&gt;while this is the diff from logconfig.xml to our file:&lt;/P&gt;
&lt;PRE&gt;2c2
&amp;lt; &amp;lt;logging:configuration xmlns:logging="http://www.sas.com/xml/logging/1.0/"&amp;gt;
---
&amp;gt; &amp;lt;logging:configuration xmlns:logging="http://www.sas.com/xml/logging/1.0/" debug="true"&amp;gt;   
3a4,17
&amp;gt;    &amp;lt;!-- Rolling log file with default rollover of midnight --&amp;gt;
&amp;gt;    &amp;lt;appender class="RollingFileAppender" name="TimeBasedRollingFile"&amp;gt;
&amp;gt;       &amp;lt;param name="Append" value="false"/&amp;gt;
&amp;gt;       &amp;lt;param name="Unique" value="true"/&amp;gt;
&amp;gt;       &amp;lt;param name="ImmediateFlush" value="true"/&amp;gt;      
&amp;gt;       &amp;lt;rollingPolicy class="TimeBasedRollingPolicy"&amp;gt;
&amp;gt;          &amp;lt;param name="FileNamePattern" value="$HOME/logs/SASApp_WorkspaceServer_%d_%S{hostname}_%S{pid}.log"/&amp;gt;
&amp;gt;       &amp;lt;/rollingPolicy&amp;gt;
&amp;gt;       &amp;lt;layout&amp;gt;
&amp;gt;          &amp;lt;param name="HeaderPattern" value="Host: '%S{hostname}', OS: '%S{os_family}', Release: '%S{os_release}', SAS Version: '%S{sup_ver_long2}', Command: '%S{startup_cmd}'"/&amp;gt;
&amp;gt;          &amp;lt;param name="ConversionPattern" value="%d %-5p [%t] %X{Client.ID}:%u - %m"/&amp;gt;
&amp;gt;       &amp;lt;/layout&amp;gt;
&amp;gt;    &amp;lt;/appender&amp;gt;
&amp;gt; 
10c24
&amp;lt;       &amp;lt;/filter&amp;gt;    
---
&amp;gt;       &amp;lt;/filter&amp;gt;
69d82
&amp;lt; 
82c95
&amp;lt;       &amp;lt;level value="Error"/&amp;gt;
---
&amp;gt;       &amp;lt;level value="error"/&amp;gt;
88d100
&amp;lt;    &amp;lt;logger name="App" immutability="true"/&amp;gt;
90d101
&amp;lt;    &amp;lt;logger name="IOM" immutability="true"/&amp;gt;
93c104
&amp;lt;    &amp;lt;logger name="Admin.Operations" additivity="false"&amp;gt;
---
&amp;gt;    &amp;lt;logger name="Admin.Operations"&amp;gt;
103a115,124
&amp;gt;    &amp;lt;!-- Application message logger --&amp;gt;
&amp;gt;    &amp;lt;logger name="App" immutability="true"&amp;gt;
&amp;gt;       &amp;lt;level value="Info"/&amp;gt;
&amp;gt;    &amp;lt;/logger&amp;gt;
&amp;gt; 
&amp;gt;    &amp;lt;!-- IOM protocol message logger --&amp;gt;
&amp;gt;    &amp;lt;logger name="IOM" immutability="true"&amp;gt;
&amp;gt;       &amp;lt;level value="Info"/&amp;gt;
&amp;gt;    &amp;lt;/logger&amp;gt;
&amp;gt; 
106a128
&amp;gt;       &amp;lt;appender-ref ref="TimeBasedRollingFile"/&amp;gt; &lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Jul 2020 07:28:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667975#M19397</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-07-09T07:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: User session (through EG or DI) logs to be saved in a central location along with their log wind</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667976#M19398</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/93352"&gt;@sathya66&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;BR /&gt;what is the difference between&lt;BR /&gt;logconfig.xml vs logconfig.trace.xml (I know we use logconfig.trace.xml for tracing/debugging if we have any issues with workspace)&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;See my other post to give you a picture.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;BR /&gt;and&lt;BR /&gt;sasv9.cfg vs sasv9_usermods.cfg&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;sasv9.cfg is the standard configuration file. Do not make any changes to it; updates to the SAS software will overwrite it. sasv9_usermods.cfg (as with any other _usermods files) is the place where you put your changes, as these files will not be overwritten by SAS updates.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 07:35:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/User-session-through-EG-or-DI-logs-to-be-saved-in-a-central/m-p/667976#M19398</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-07-09T07:35:22Z</dc:date>
    </item>
  </channel>
</rss>

