<?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 Send SASServern_n access log to rsyslogd in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Send-SASServern-n-access-log-to-rsyslogd/m-p/878921#M26748</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried to find a right documentation but no luck so far.&lt;/P&gt;
&lt;P&gt;The aim is to send all&amp;nbsp;SASServer&lt;EM&gt;n_n&lt;/EM&gt; log (which is currently written to localhost_access_log.&lt;EM&gt;&amp;lt;date&amp;gt;&lt;/EM&gt;.txt file) straight to rsyslog. Not catalina.out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At the moment rsyslog reads the&amp;nbsp;localhost_access_log.&lt;EM&gt;&amp;lt;date&amp;gt;&lt;/EM&gt;.txt file using&amp;nbsp;&lt;EM&gt;imfile&lt;/EM&gt; module but a) it creates additional unnecessary prefix (date, hostname,&amp;nbsp; syslog's tag) and b) the first date of the record is not the same as the second date which is the correct one. So reading logfile with &lt;EM&gt;imfile&lt;/EM&gt; has some delay.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think it must be configured from somewhere WebAppServer/SASServer&lt;EM&gt;n_n&lt;/EM&gt;/conf/server.xml file. The class org.apache.catalina.valves.AccessLogValve have some parameters but it is about writing to file.&lt;/P&gt;
&lt;P&gt;Can anyone point me to the right document how to switch it to send rsyslog? I would be very grateful for the hint of a solution.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PL&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jun 2023 09:28:13 GMT</pubDate>
    <dc:creator>PriitL</dc:creator>
    <dc:date>2023-06-02T09:28:13Z</dc:date>
    <item>
      <title>Send SASServern_n access log to rsyslogd</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Send-SASServern-n-access-log-to-rsyslogd/m-p/878921#M26748</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried to find a right documentation but no luck so far.&lt;/P&gt;
&lt;P&gt;The aim is to send all&amp;nbsp;SASServer&lt;EM&gt;n_n&lt;/EM&gt; log (which is currently written to localhost_access_log.&lt;EM&gt;&amp;lt;date&amp;gt;&lt;/EM&gt;.txt file) straight to rsyslog. Not catalina.out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At the moment rsyslog reads the&amp;nbsp;localhost_access_log.&lt;EM&gt;&amp;lt;date&amp;gt;&lt;/EM&gt;.txt file using&amp;nbsp;&lt;EM&gt;imfile&lt;/EM&gt; module but a) it creates additional unnecessary prefix (date, hostname,&amp;nbsp; syslog's tag) and b) the first date of the record is not the same as the second date which is the correct one. So reading logfile with &lt;EM&gt;imfile&lt;/EM&gt; has some delay.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think it must be configured from somewhere WebAppServer/SASServer&lt;EM&gt;n_n&lt;/EM&gt;/conf/server.xml file. The class org.apache.catalina.valves.AccessLogValve have some parameters but it is about writing to file.&lt;/P&gt;
&lt;P&gt;Can anyone point me to the right document how to switch it to send rsyslog? I would be very grateful for the hint of a solution.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PL&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 09:28:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Send-SASServern-n-access-log-to-rsyslogd/m-p/878921#M26748</guid>
      <dc:creator>PriitL</dc:creator>
      <dc:date>2023-06-02T09:28:13Z</dc:date>
    </item>
  </channel>
</rss>

