<?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: Centralize Logging in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/centralize-logging/m-p/3772159#M22891</link>
    <description>OS = rhel 4&lt;BR /&gt;&lt;BR /&gt;and more thing left&lt;BR /&gt;&lt;BR /&gt;1, I  want to log /var/log/squid/access to a central log server say "logserver" (and not locally)&lt;BR /&gt;what Config should I have to do on the Squid server machine&lt;BR /&gt;2, I  also want to log apache logs to a central log server say "logserver" (and not locally)&lt;BR /&gt;what Config should I have to do on the Apache server machine&lt;BR /&gt;</description>
    <pubDate>Sat, 15 Apr 2006 13:22:46 GMT</pubDate>
    <dc:creator>Maaz</dc:creator>
    <dc:date>2006-04-15T13:22:46Z</dc:date>
    <item>
      <title>Centralize Logging</title>
      <link>https://community.hpe.com/t5/operating-system-linux/centralize-logging/m-p/3772158#M22890</link>
      <description>Dear Gurus&lt;BR /&gt;&lt;BR /&gt;On one linux box(client)/etc/syslog.conf&lt;BR /&gt;user.*  @logserver&lt;BR /&gt;#service syslog restart&lt;BR /&gt;&lt;BR /&gt;On Log server /etc/sysconfig/syslog.conf&lt;BR /&gt;SYSLOGD_OPTIONS="-r -m 0"&lt;BR /&gt;#service syslog restart&lt;BR /&gt;#tail -f /var/log/messages&lt;BR /&gt;&lt;BR /&gt;Ok, Logging is centrallize now, e.g on client machine i ran "startx" i can se messages on logserver.&lt;BR /&gt;But client machine still logs messages locally, and I want that client machine dont log message locally.&lt;BR /&gt;what more I have to do ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Sat, 15 Apr 2006 12:50:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/centralize-logging/m-p/3772158#M22890</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2006-04-15T12:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Centralize Logging</title>
      <link>https://community.hpe.com/t5/operating-system-linux/centralize-logging/m-p/3772159#M22891</link>
      <description>OS = rhel 4&lt;BR /&gt;&lt;BR /&gt;and more thing left&lt;BR /&gt;&lt;BR /&gt;1, I  want to log /var/log/squid/access to a central log server say "logserver" (and not locally)&lt;BR /&gt;what Config should I have to do on the Squid server machine&lt;BR /&gt;2, I  also want to log apache logs to a central log server say "logserver" (and not locally)&lt;BR /&gt;what Config should I have to do on the Apache server machine&lt;BR /&gt;</description>
      <pubDate>Sat, 15 Apr 2006 13:22:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/centralize-logging/m-p/3772159#M22891</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2006-04-15T13:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Centralize Logging</title>
      <link>https://community.hpe.com/t5/operating-system-linux/centralize-logging/m-p/3772160#M22892</link>
      <description>Apache:&lt;BR /&gt;you should redirect apache logs to syslog, for example:&lt;BR /&gt;&lt;BR /&gt;ErrorLog syslog:user&lt;BR /&gt;&lt;BR /&gt;I don't sure that you can use the same way &lt;BR /&gt;CustomLog syslog:user combined&lt;BR /&gt;&lt;BR /&gt;for access_log or you should use piping:&lt;BR /&gt;"CustomLog â  | /usr/bin/logger â  p user.infoâ  &lt;BR /&gt;&lt;BR /&gt;Of course, you can use localX facility instead of user. &lt;BR /&gt;&lt;BR /&gt;(see for more &lt;A href="http://httpd.apache.org/docs/2.0/mod/core.html)" target="_blank"&gt;http://httpd.apache.org/docs/2.0/mod/core.html)&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Squid: you should start squid with "-s" flag for loggingg to syslog.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Vitaly&lt;BR /&gt;</description>
      <pubDate>Sun, 16 Apr 2006 02:11:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/centralize-logging/m-p/3772160#M22892</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2006-04-16T02:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Centralize Logging</title>
      <link>https://community.hpe.com/t5/operating-system-linux/centralize-logging/m-p/3772161#M22893</link>
      <description>Thanks Dear Vitally Karasik&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;from my 1st post&lt;BR /&gt;Ok, Logging is centrallize now, e.g on client machine i ran "startx" i can se messages on logserver.&lt;BR /&gt;But client machine still logs messages locally, and I want that client machine dont log message locally.&lt;BR /&gt;what more I have to do ?&lt;BR /&gt;&lt;BR /&gt;Plz help&lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Sun, 16 Apr 2006 03:12:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/centralize-logging/m-p/3772161#M22893</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2006-04-16T03:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Centralize Logging</title>
      <link>https://community.hpe.com/t5/operating-system-linux/centralize-logging/m-p/3772162#M22894</link>
      <description>Shalom Maaz,&lt;BR /&gt;&lt;BR /&gt;Two things to consider as I'm doing this right now.&lt;BR /&gt;&lt;BR /&gt;I set up the logs directory on the central server as an NFS share. &lt;BR /&gt;&lt;BR /&gt;Then I set up /etc/fstab to mount that NFS share at startup.&lt;BR /&gt;&lt;BR /&gt;Then all logs go to that location.&lt;BR /&gt;&lt;BR /&gt;Doing it in syslog requires that port 514 be open and that can be a problem with some firewall configurations.&lt;BR /&gt;&lt;BR /&gt;I generally go with Vitaly's format (NFS or syslog) and keep the local copy of the log. The reason is that if there is a communication problem with the central log server, I still need those logs somewhere so I keep an extra copy.&lt;BR /&gt;&lt;BR /&gt;You should take this into account in the logrotate configuration and have logrotate run not on the central server but on the individual servers around the network.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 16 Apr 2006 03:28:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/centralize-logging/m-p/3772162#M22894</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-04-16T03:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Centralize Logging</title>
      <link>https://community.hpe.com/t5/operating-system-linux/centralize-logging/m-p/3772163#M22895</link>
      <description>If you use "user" facility for apache's log and want to exclude such messages from local syslog file, in syslog.conf on your client machine you should use  &lt;BR /&gt;&lt;BR /&gt;!=user.*  /var/log/messages&lt;BR /&gt;&lt;BR /&gt;Unfortunately, I don't know is it possible to choose facility for squid log. If no, we cannot separate squid messages from the other daemons messages.</description>
      <pubDate>Sun, 16 Apr 2006 14:44:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/centralize-logging/m-p/3772163#M22895</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2006-04-16T14:44:04Z</dc:date>
    </item>
  </channel>
</rss>

