[CentOS] tail -f /var/log/maillog error
Matt Hyclak
hyclak at math.ohiou.edu
Thu Jan 4 14:17:10 UTC 2007
On Thu, Jan 04, 2007 at 07:14:57AM -0600, Robert Becker Cope enlightened us:
> "Indunil Jayasooriya" <indunil75 at gmail.com> wrote:
>
> > When I type the below command, it shows the logs for mail.
> > tail -f /var/log/maillog
> >
> > But , Since this morning, It shows nothing.
>
> Did you leave this running overnight? If so, your logs may have rotated, and
> you are no longer "tailing" the right file.
>
Yes, if you plan on leaving long-running tails of logs, you may want to look
into the -F option, rather than -f. The man page will explain more.
Matt
--
Matt Hyclak
Department of Mathematics
Department of Social Work
Ohio University
(740) 593-1263
More information about the CentOS
mailing list