RE: locked log files on a cygwin install

"Troy Wical" <[email protected]>
Newsgroups gmane.network.irc.irssi.user
Message-ID <002801c6459d$bb312520$9e58fd0a@themove>
Thanks for the reply.  The rotation sounds ok.  Although there would be some
lag, could I do say....a 10 minutes rotation and then have all the logs that
were created over ten minutes ago combined into one file?  I have heard of
this but am not sure how to do it.

Thanks again,

Troy Wical
[email protected]

-----Original Message-----
From: tabris [mailto:[email protected]] 
Sent: Saturday, March 11, 2006 11:08 PM
To: Troy Wical
Cc: [email protected]
Subject: Re: locked log files on a cygwin install

Troy Wical wrote:
>
> Look's like I am unable to cat, less, more, etc the log files while
> IRSSI is running in my cygwin environment. Has anybody else
> experienced this or found work arounds? I very much would like to
> continue using IRSSI but in my work environment, searching through
> logs is a must. Disconnecting, searching the logs, and reconnecting is
> not a viable solution in this case.
>
try rotating your logs hourly? unfortunately from what I am told,
Windows requires exclusive locks on such files, and thus it cannot be
avoided.
also consider /lastlog
not as flexible as a proper grep, but a solution nonetheless
>
> Thanks in advance.
>
> Troy Wical
>
> [email protected]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.