Richard Adams wrote:
> According to Kenneth Stephen: While burning my CPU.
> >
> > Richard Adams wrote:
> >
> > > According to Nagle, Adrian: While burning my CPU.
> > > >
> > > > Reading through the /var/log/messages file, I've noticed that not everything
> > > > that is displayed on the screen is logged in /var/log/messages. Are there
> > > > other locations, or a way to redirect ALL the boot output to /var/log
> > > > messages? I always see some sort of httpd error that cannot resolve my
> > > > machine name but it does not show up in /var/log/messages.
> > >
> > > All system logs are controlled by /etc/syslog.conf take a look at it and
> > > then do;
> > > 'man syslog.conf'
> > >
> > > However program/daemon logs can be almost anywhere, the trend thesedays
> > > is for daemons to have the error logs defined by the user, if your
> > > http.conf is still default then it possably could be found in
> > > /var/log/http/error_log
> > >
> >
> > Adrian,
> >
> > I have to disagree with Richard on a technicality. The syslog mechanism will
> > not capture ALL messages that are produced at boot time. It can only capture
> > messages that are produced by the kernel. There are other boot messages that are
> > produced at boot time by boot scripts are other programs. These do not get
> > captured unless they explicitly use the sylog mechanism.
> >
> > AFAIK, there is only one way of capturing ALL such messages - by redirecting
> > output to a file.
>
> I cant understand why you disagree Kenneth, you are correct about the kernel
> messages, but that i explaned above /etc/syslog.conf. Your comment;
>
> "AFAIK, there is only one way of capturing ALL such messages
> - by redirecting output to a file"
>
> That is exactly what i mean with /etc/syslog.conf and http.conf you do that
> in those files.
>
> The issue here is a program being started at bootime, namely httpd, now in
> /etc/httpd/conf (on a redhat system) there is a file called httpd.conf, in
> this file we can direct the "error messages" produced at bootime or httpd's
> starttme to a file called "logs/error_log" the directory log is a symbolic
> link to /var/log/httpd/error_log.
>
> There are many other programs which allow the "user" to define where the
> error messages go or to turn them off completly.
>
> My comment was;
> if your http.conf is still default then it possably could be found in
> /var/log/http/error_log
>
> Thats the default setting.
Richard,
I guess I misunderstood your reply. Part of Adrian's question was how to capture
ALL boot-time messages, and I thought that you were implying that the syslog
mechanism was capable of doing this.
Kenneth
--
There is no such thing as luck. 'Luck' is nothing but an absence of bad luck.