<?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: Log management in HP-UX in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597641#M375520</link>
    <description>It will help to understand that syslogd is NOT the only tool that creates logs. cron and su and so on are processes that write their own logs -- they do not use the syslog facility at all. To see how many logs are kept by individual processes, look at /var/adm as in:&lt;BR /&gt; &lt;BR /&gt;ll /var/adm/*.log&lt;BR /&gt; &lt;BR /&gt;These files are not part of a standard syslog setup. What happens in syslog.log is controlled completely by the /etc/syslog.conf file. The facilities and levels of reporting are defined in that file.&lt;BR /&gt; &lt;BR /&gt;There is nothing in standard HP-UX that will rotate the logs except a reboot (or more accurately, running the startup script&lt;BR /&gt; &lt;BR /&gt; /sbin/init.d/syslog start&lt;BR /&gt; &lt;BR /&gt;will move the current lof to OLDsyslog.log and start a new syslog.log.&lt;BR /&gt; &lt;BR /&gt;As mentioned above, the other copies of syslog.log have been created by a custom script or program byu the previous administrator. Based on the time stamps, this is done at 1 minute after midnight so you'll likely find a script or program running at midnight that performs this task.&lt;BR /&gt; &lt;BR /&gt;Also based on the files you see, the script has an error: in November, it rotated the logs and compressed them (*.gz) but in February and March, it did not compress them. So the script needs repair.&lt;BR /&gt; &lt;BR /&gt;Also, your syslog.conf file creates a duplicate entry in syslog.log and each of these facility logs:&lt;BR /&gt; &lt;BR /&gt;mark, kern, user, daemon, auth, lpr, security&lt;BR /&gt; &lt;BR /&gt;And there is no security facility (see man 3c syslog). I think what you want is to remove noisy messages from syslog and move them to separate logs, like this:&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;#  Use only tabs, not spaces&lt;BR /&gt;#&lt;BR /&gt;*.info;mail.none;local5.none;auth.none;user.none;lpr.none;daemon.notice;kern.notice /var/adm/syslog/syslog.log&lt;BR /&gt;#&lt;BR /&gt;mail.debug      /var/adm/syslog/mail.log&lt;BR /&gt;local5.info     /var/adm/syslog/ftpd.log&lt;BR /&gt;auth.info       /var/adm/syslog/auth.log&lt;BR /&gt;daemon.info     /var/adm/syslog/daemon.log&lt;BR /&gt;kern.info       /var/adm/syslog/kern.log&lt;BR /&gt;lpr.info       /var/adm/syslog/lpr.log&lt;BR /&gt;#&lt;BR /&gt;*.alert         /dev/console&lt;BR /&gt;*.alert         root&lt;BR /&gt;*.emerg         *&lt;BR /&gt; &lt;BR /&gt;I have rearranged the lines to make it a bit more readable. The first line states what will (and will not) go into syslog.log. So it says that:&lt;BR /&gt; &lt;BR /&gt;-- All messages with info level or higher&lt;BR /&gt;-- No messages from mail, local, auth, user or local5&lt;BR /&gt;-- daemon and kern messages at notice level and higher&lt;BR /&gt; &lt;BR /&gt;Then, each of next lines are facilities that are logged into different files. local5 is for ftp messages from ftpd.&lt;BR /&gt; &lt;BR /&gt;The last 3 lines state that alert (and higher) are sent to /dev/console and all logged in root users, while emerg level messages are sent to all logged in users.&lt;BR /&gt; &lt;BR /&gt;NOTE: The syslog.conf file is the only file in Unix that does not work with spaces!! Any line with a space anywhere on the line becomes a comment, so the file must look like this when you use cat -tv:&lt;BR /&gt; &lt;BR /&gt;# cat -tv /etc/syslog.conf&lt;BR /&gt;*.info;mail.none;local5.none;auth.none;user.none;lpr.none;kern.notice;daemon.notice^I/var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;mail.debug^I/var/adm/syslog/mail.log&lt;BR /&gt;local5.info^I/var/adm/syslog/ftpd.log&lt;BR /&gt;auth.info^I/var/adm/syslog/auth.log&lt;BR /&gt;lpr.info^I/var/adm/syslog/lpr.log&lt;BR /&gt;user.info^I/var/adm/syslog/user.log&lt;BR /&gt;kern.info^I/var/adm/syslog/kern.log&lt;BR /&gt;daemon.info^I/var/adm/syslog/daemon.log&lt;BR /&gt;&lt;BR /&gt;*.alert^I^I/dev/console&lt;BR /&gt;*.alert^I^Iroot&lt;BR /&gt;*.emerg^I^I*&lt;BR /&gt; &lt;BR /&gt;The ^I is the tab character. If any line has a space, the entire line is silently ignored.&lt;BR /&gt; When you edit this file, use the vi command :set list to see the tabs as ^I.&lt;BR /&gt;  &lt;BR /&gt;One other change is for NTP (Network Time Protocol). The default is to log to syslog but it doesn't have its own facility name, so I change /etc/rc.config.d/netdaemons to start xntpd with the option: -l /var/adm/ntp.log:&lt;BR /&gt;&lt;BR /&gt;export NTPDATE_SERVER=us.pool.ntp.org&lt;BR /&gt;export XNTPD=1&lt;BR /&gt;export XNTPD_ARGS="-l /var/adm/ntp.log"&lt;BR /&gt;</description>
    <pubDate>Thu, 15 Apr 2010 12:24:26 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2010-04-15T12:24:26Z</dc:date>
    <item>
      <title>Log management in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597621#M375500</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I am new to HP-UX.&lt;BR /&gt;&lt;BR /&gt;I would like to know the log management in HP-UX.&lt;BR /&gt;&lt;BR /&gt;I know followings about log management.&lt;BR /&gt;&lt;BR /&gt;1)About Syslog:&lt;BR /&gt;&lt;BR /&gt;There is two log files are available for syslog.&lt;BR /&gt;&lt;BR /&gt;i)OLDsyslog.log&lt;BR /&gt;ii)syslog.log&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Syslog.log is current file and OLDsyslog.log is old file.&lt;BR /&gt;&lt;BR /&gt;Now I have some questions on syslog:&lt;BR /&gt;&lt;BR /&gt;1.1)When (how many days once) the log are being transfered from syslog.log to OLDsyslog?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1.2)On of my HP-UX server (HP-UX 11.11) has no data with in OLDsyslog.log, example:&lt;BR /&gt;&lt;BR /&gt;# ll OLDsyslog.log&lt;BR /&gt;-rw-r--r-- 1 root sys 0 Mar 4 00:01 OLDsyslog.log&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But it has six syslog files, I think log rotation has been done, but I dont know how they (pervious unix admin) done this.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;-rw-r--r-- 1 root sys 1119967 Mar 4 08:29 syslog.log&lt;BR /&gt;-rw-r--r-- 1 root sys 3222700 Mar 4 00:01 syslog.log.1&lt;BR /&gt;-rw-r--r-- 1 root sys 89506 Aug 7 2008 syslog.log.1.orig.gz&lt;BR /&gt;-rw-r--r-- 1 root sys 4168313 Mar 3 00:01 syslog.log.2&lt;BR /&gt;-rw-r--r-- 1 root sys 105763 Nov 22 10:30 syslog.log.2.gz&lt;BR /&gt;-rw-r--r-- 1 root sys 3989978 Mar 2 00:01 syslog.log.3&lt;BR /&gt;-rw-r--r-- 1 root sys 238659 Nov 22 00:01 syslog.log.3.gz&lt;BR /&gt;-rw-r--r-- 1 root sys 3092849 Mar 1 00:01 syslog.log.4&lt;BR /&gt;-rw-r--r-- 1 root sys 247459 Nov 21 00:01 syslog.log.4.gz&lt;BR /&gt;-rw-r--r-- 1 root sys 2993922 Feb 28 00:01 syslog.log.5&lt;BR /&gt;-rw-r--r-- 1 root sys 229038 Nov 20 00:01 syslog.log.5.gz&lt;BR /&gt;-rw-r--r-- 1 root sys 3373747 Feb 27 00:01 syslog.log.6&lt;BR /&gt;-rw-r--r-- 1 root sys 251639 Nov 19 00:01 syslog.log.6.gz&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;How to find that why the OLDsyslog.log has no entries, and instead how the six syslog.log files are available?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So I have two questions:&lt;BR /&gt;&lt;BR /&gt;1.1)When (how many days once) the log are being transfered from syslog.log to OLDsyslog?&lt;BR /&gt;&lt;BR /&gt;1.2)How to find that why the OLDsyslog.log has no entries, and instead how the six syslog.log files are available?</description>
      <pubDate>Tue, 09 Mar 2010 15:03:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597621#M375500</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2010-03-09T15:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Log management in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597622#M375501</link>
      <description>syslog will be moved to OLDsyslog after a reboot. Everything else is not standard, but customized by user scripts.</description>
      <pubDate>Tue, 09 Mar 2010 15:09:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597622#M375501</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2010-03-09T15:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Log management in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597623#M375502</link>
      <description>1.2) It appears that someone may have set up something like 'logrotate' to do a daily log rotation.&lt;BR /&gt;&lt;BR /&gt;Check your root cron jobs for something like 'logrotate'.  If it is there then you can look at the logrotate script and configuration files to determine what it is doing.</description>
      <pubDate>Tue, 09 Mar 2010 15:20:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597623#M375502</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2010-03-09T15:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Log management in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597624#M375503</link>
      <description>&amp;gt;&amp;gt;1.1)When (how many days once) the log are being transfered from syslog.log to OLDsyslog?&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;As per normal behaviour it doesn't goes by days, when ever syslogd demons has been restarted either by reboot or syslod deamon restarted it will automatically rename or move existing syslog.log to OLDsyslog.log and new "syslog.log" has been created.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;1.2)How to find that why the OLDsyslog.log has no entries, and instead how the six syslog.log files are available?&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;This realy depends on scripts which in the server which is creating "Six....etc. syslog"&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Johnson</description>
      <pubDate>Tue, 09 Mar 2010 15:25:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597624#M375503</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2010-03-09T15:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Log management in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597625#M375504</link>
      <description>Duplicate Thread, Please close it*&amp;amp; Continue with Original one.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1412369" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1412369&lt;/A&gt;</description>
      <pubDate>Tue, 09 Mar 2010 23:30:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597625#M375504</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2010-03-09T23:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Log management in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597626#M375505</link>
      <description>Hi senthil&lt;BR /&gt;&lt;BR /&gt;when ever the syslogd daemon are restarted ,, due to reboot or shutdown u will have oldsyslog.log...&lt;BR /&gt;&lt;BR /&gt;if u have any test servers try to see the difference by rebooting or stopping syslogd daemon,,, but both entries will be in syslog.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;MC</description>
      <pubDate>Wed, 10 Mar 2010 03:58:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597626#M375505</guid>
      <dc:creator>madhuchakkaravarthy</dc:creator>
      <dc:date>2010-03-10T03:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Log management in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597627#M375506</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I have found following entries in /etc/syslog.conf file.&lt;BR /&gt;&lt;BR /&gt;#############################################&lt;BR /&gt;mail.debug              /var/adm/syslog/mail_log&lt;BR /&gt;*.info;mail.none        /var/adm/syslog/syslog.log&lt;BR /&gt;*.alert                 /dev/console&lt;BR /&gt;*.alert                 root&lt;BR /&gt;*.emerg                 *&lt;BR /&gt;mail.alert              /var/adm/syslog/mail_log&lt;BR /&gt;mark.debug              /var/adm/syslog/mark_log&lt;BR /&gt;kern.info               /var/adm/syslog/kern_log&lt;BR /&gt;user.info              /var/adm/syslog/user_log&lt;BR /&gt;daemon.alert            /var/adm/syslog/daemon_log&lt;BR /&gt;auth.info              /var/adm/syslog/auth_log&lt;BR /&gt;lpr.info                /var/adm/syslog/lpr_log&lt;BR /&gt;security.info          /var/adm/syslog/security_log&lt;BR /&gt;&lt;BR /&gt;#############################################&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Could you please explain the purpose of each line in detail?</description>
      <pubDate>Wed, 10 Mar 2010 15:02:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597627#M375506</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2010-03-10T15:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Log management in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597628#M375507</link>
      <description>This has nothing to do with your original question.&lt;BR /&gt;&lt;BR /&gt;However, 'man syslogd' should answer your questions.</description>
      <pubDate>Wed, 10 Mar 2010 16:05:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597628#M375507</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2010-03-10T16:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Log management in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597629#M375508</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I have learned some information about syslog.&lt;BR /&gt;&lt;BR /&gt;The syslogd command reads and logs messages into a set of files described by the configuration file /etc/syslog.conf.&lt;BR /&gt;&lt;BR /&gt;Normally only the log files available in /var/adm/syslog directory are configure in /etc/syslog.conf.&lt;BR /&gt;&lt;BR /&gt;So if we stop the syslog daemon the log files available in /var/adm/syslog will not get updated. But all other logs (cron , sulog, automount log) will get updated, am i correct?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Mar 2010 12:37:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597629#M375508</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2010-03-11T12:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Log management in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597630#M375509</link>
      <description>&amp;gt;&amp;gt;&amp;gt;So if we stop the syslog daemon the log files available in /var/adm/syslog will not get updated. But all other logs (cron , sulog, automount log) will get updated, am i correct?&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;NO&lt;BR /&gt;&lt;BR /&gt;syslog.log -&amp;gt; (for system related logs,but some normal entry will added for daemons like,crond,inetd,ftpd,automout...etc) but in details logging are printed for cron,su,automount, see below locattions).&lt;BR /&gt;&lt;BR /&gt;cron log -&amp;gt; ( /var/adm/cron/log -&amp;gt; crontab&lt;BR /&gt;&lt;BR /&gt;su log -&amp;gt; switch user logs (/var/adm/sulog)&lt;BR /&gt;&lt;BR /&gt;automount log -&amp;gt; /var/adm/automount.log&lt;BR /&gt;&lt;BR /&gt;so in-short all (cron,su,automount) have there own logging file, &lt;BR /&gt;&lt;BR /&gt;so if restart "syslogd" you can see OLDSyslog.log &amp;amp; syslog.log will only updated not others.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Johnson</description>
      <pubDate>Thu, 11 Mar 2010 13:05:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597630#M375509</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2010-03-11T13:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Log management in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597631#M375510</link>
      <description>In man page I have found below mentioned.&lt;BR /&gt;&lt;BR /&gt;# man syslogd&lt;BR /&gt;&lt;BR /&gt;The syslogd command reads and logs messages into a set of files described by the configuration file /etc/syslog.conf. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Normally we have not configured any entries to log the activities of cron , sulog , wtmp and automount.log in /etc/syslog.conf.&lt;BR /&gt;&lt;BR /&gt;1)so that, will it prevent from logging the activities of cron , sulog , wtmp and automount.log in to their respective log files?&lt;BR /&gt;&lt;BR /&gt;2)If yes, why the files are not created like OLDcron.log, OLDautomout.log while restarting syslog?&lt;BR /&gt;&lt;BR /&gt;3)If no, will no logs be created (syslog, cron , sulog, wtmp and etc.,) if we have stopped syslog?</description>
      <pubDate>Thu, 11 Mar 2010 13:37:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597631#M375510</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2010-03-11T13:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Log management in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597632#M375511</link>
      <description>&amp;gt;&amp;gt;&amp;gt;2)If yes, why the files are not created like OLDcron.log, OLDautomout.log while restarting syslog? &amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;becoz when you restart the "sylogd" as below, it will only created for OLDSyslog.log also syslogd -&amp;gt; dameons which writes its own information to "syslog.log" file, it should not write to OLDcron,OLDautomout.log&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/syslogd stop&lt;BR /&gt;/sbin/init.d/syslogd start&lt;BR /&gt;&lt;BR /&gt;Hope you can test above in any of your test servers. to clear doubts :)&lt;BR /&gt;&lt;BR /&gt;Also you can refer to your posting&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;I have found following entries in /etc/syslog.conf file.&lt;BR /&gt;&lt;BR /&gt;#############################################&lt;BR /&gt;mail.debug /var/adm/syslog/mail_log&lt;BR /&gt;*.info;mail.none /var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;look at the syslog.conf file -&amp;gt; pointing to /var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;mail -&amp;gt; pointing to /var/adm/syslog/mail.log</description>
      <pubDate>Thu, 11 Mar 2010 13:51:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597632#M375511</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2010-03-11T13:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Log management in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597633#M375512</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I have tested in my test server.&lt;BR /&gt;&lt;BR /&gt;I would like to know whether the logs for cron , sulog, wtmp, automount.log will be created while syslogd is down.&lt;BR /&gt;&lt;BR /&gt;So firs I have down the syslogd.&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/syslogd stop&lt;BR /&gt;syslogd stopped&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;After that no logs are created with in /var/adm/syslog/syslog.log but at the same time logs are being created in /var/adm/cron/log , /var/adm/sulog and /var/adm/wtmp.&lt;BR /&gt;&lt;BR /&gt;So I come to conclusion that if we have stop the syslogd then it will not create any logs to the files available under /var/adm/syslog (all the files configured in /etc/syslog.conf) but at the same time other logs (cron, sulog, wtmp) will be created. am i correct because i want to double check with you?</description>
      <pubDate>Thu, 11 Mar 2010 15:01:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597633#M375512</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2010-03-11T15:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Log management in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597634#M375513</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;No logs configured in syslog.conf will write when the syslogd daemon is down.&lt;BR /&gt;&lt;BR /&gt;The data may be queued, you will have to test that.&lt;BR /&gt;&lt;BR /&gt;But syslogd daemon is something you want up and running all the time.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 11 Mar 2010 15:28:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597634#M375513</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-03-11T15:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Log management in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597635#M375514</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;All the activities of starting and stopping the services (like nfs.server and nfs.client) will be in to which file because just for testing i have stopped and started again nfs.server and nfs.client but no logs are created for this activity in /var/adm/syslog/syslog.log?&lt;BR /&gt;&lt;BR /&gt;Could you please clarify me about what are the service will be logged while start and stop and which file?&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Mar 2010 15:33:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597635#M375514</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2010-03-11T15:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Log management in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597636#M375515</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;All the activities of starting and stopping the services (like nfs.server and nfs.client) will be in to which file because just for testing i have stopped and started again nfs.server and nfs.client but no logs are created for this activity in /var/adm/syslog/syslog.log?&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;All services configured to be logged in syslog will be logged with start and stop messages. But it depends how the service is configured where and how they log. apache is not going to log in syslog at all. It has its own log.&lt;BR /&gt;&lt;BR /&gt;This varies application to application.&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Could you please clarify me about what are the service will be logged while start and stop and which file? &lt;BR /&gt;&lt;BR /&gt;How the service will be logged depends on two factors:&lt;BR /&gt;&lt;BR /&gt;1) syslog.conf configuration.&lt;BR /&gt;2) How the service is written. NFS does log to syslog.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 11 Mar 2010 15:58:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597636#M375515</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-03-11T15:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Log management in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597637#M375516</link>
      <description>which one is correct?&lt;BR /&gt;&lt;BR /&gt;  1)wtmp or wtmps&lt;BR /&gt;&lt;BR /&gt;  2)btmp or btmps&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Mar 2010 19:00:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597637#M375516</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2010-03-11T19:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Log management in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597638#M375517</link>
      <description>which one is correct?&lt;BR /&gt;&lt;BR /&gt;  1)wtmp or wtmps&lt;BR /&gt;&lt;BR /&gt;  2)btmp or btmps&lt;BR /&gt;&lt;BR /&gt;Since my HP-UX server is having both wtmp &amp;amp; wtmps and btmp &amp;amp; btmps.</description>
      <pubDate>Thu, 11 Mar 2010 19:01:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597638#M375517</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2010-03-11T19:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Log management in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597639#M375518</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; which one is correct? 1)wtmp or wtmps 2)btmp or btmps&lt;BR /&gt;&lt;BR /&gt;If you have the "*s" named file on your server you're running 11.23 or later and that's the file that you want to analyze.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 11 Mar 2010 19:06:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597639#M375518</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-03-11T19:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Log management in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597640#M375519</link>
      <description>Shalom again,&lt;BR /&gt;&lt;BR /&gt;Just checked an 11.31 system.&lt;BR /&gt;&lt;BR /&gt;They have both files but one one is active.&lt;BR /&gt;&lt;BR /&gt;root@mngp01:/var/adm # ll wtmp*&lt;BR /&gt;-rw-rw-r--   1 adm        adm          11400 Feb  3 16:23 wtmp&lt;BR /&gt;-rw-rw-r--   1 adm        adm         144744 Mar 11 13:06 wtmps&lt;BR /&gt;-rw-r--r--   1 root       sys            280 Jan  8 16:50 wtmpx&lt;BR /&gt;root@mngp01:/var/adm # ll btmp*&lt;BR /&gt;-rw-------   1 root       other            0 Mar  8  2009 btmp&lt;BR /&gt;-rw-------   1 root       other        11084 Feb 25 17:04 btmps&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The btmp on this file is zero bytes because almost nobody logs into it.&lt;BR /&gt;&lt;BR /&gt;See the dates for which file is active.&lt;BR /&gt;&lt;BR /&gt;Your mileage may vary on earlier releases of HP-UX.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 11 Mar 2010 19:09:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/log-management-in-hp-ux/m-p/4597640#M375519</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-03-11T19:09:28Z</dc:date>
    </item>
  </channel>
</rss>

