e the symlink get changed at 00:00.
-Original Message-
>From: "JupiterHost.Net" <[EMAIL PROTECTED]>
>Sent: Jan 15, 2006 1:04 AM
>To: beginners@perl.org
>Subject: Re: the 'tail' problem
>
>
>
>Jeff Pang wrote:
>> hi,lists,
>
>Hello
Jeff Pang wrote:
hi,lists,
Hello,
I have a log file which is a symbol link to the real logfile,shown as following:
$ll mssvr.log
lrwxrwxrwx1 cmail root 40 Jan 14 00:00 mssvr.log ->
/home/cmail/logs/mssvr.log.2006-01-14
I have to access this file in perl script with unix 'ta
t of
mssvr.log.2006-01-14,not mssvr.err's.
So strange it is for me.
-Original Message-
>From: John Doe <[EMAIL PROTECTED]>
>Sent: Jan 14, 2006 8:34 AM
>To: beginners@perl.org
>Subject: Re: the 'tail' problem
>
>Jeff Pang am Samstag, 14. Januar 2006 12
Jeff Pang wrote:
hi,lists,
I have a log file which is a symbol link to the real logfile,shown as following:
$ll mssvr.log
lrwxrwxrwx1 cmail root 40 Jan 14 00:00 mssvr.log ->
/home/cmail/logs/mssvr.log.2006-01-14
I have to access this file in perl script with unix 'tail -f' comma
ira <[EMAIL PROTECTED]>
> >Sent: Jan 14, 2006 7:23 PM
> >To: Jeff Pang <[EMAIL PROTECTED]>, beginners@perl.org
> >Subject: Re: the 'tail' problem
> >
> >Jeff,
> >
> >Maybe all you have to do is make some adjustments to the pipe you'
On 1/14/06, Jeff Pang <[EMAIL PROTECTED]> wrote:
> Thanks for Adriano.I have tried the way that mentioned by you,and found it's
> no use for me.
> should the '-F' option have no effect for symlinks maybe?
>
Well, that way would be easier if it worked. But I think with some
extra logic you can d
<[EMAIL PROTECTED]>, beginners@perl.org
>Subject: Re: the 'tail' problem
>
>Jeff,
>
>Maybe all you have to do is make some adjustments to the pipe you're
>opening. Besides the well known "-f" switch, some tail's (like gnu
>tail) support "
Jeff,
Maybe all you have to do is make some adjustments to the pipe you're
opening. Besides the well known "-f" switch, some tail's (like gnu
tail) support "-F" which means a file is followed by its name and the
opening is retried from time to time. From "man tail" (GNU):
-F same as --
hi,lists,
I have a log file which is a symbol link to the real logfile,shown as following:
$ll mssvr.log
lrwxrwxrwx1 cmail root 40 Jan 14 00:00 mssvr.log ->
/home/cmail/logs/mssvr.log.2006-01-14
I have to access this file in perl script with unix 'tail -f' command.Part of
the cod