On Saturday 21 December 2002 05:32, Xavier Gentoo wrote:

> My guess would be that you shouldn't be logging into a separate logfile at
> all. See logger(1).
I don't think that's relevant. As I understand it, logger allows writing to 
syslog which is not what I want. My script checks if ADSL is up and if not 
writes to a text file so that any user can check this small file and not have 
to search throuh a large syslog. I know there must be lots of tools to do 
this more elegantly, but I was looking for a **quick and dirty** solution. 
And, aside from the permission problem, which as I already wrote, I found a 
way around, it works fine.

>
> Either way I bet the culprit here is indeed logrotate.
I still don't agree, because as I wrote before, the change in permission 
occurs at **seemingly** random intervals (not when logrotate runs) and also 
changes permission of all the files in the /var/log/mylogs directory.


-- 
Shlomo Solomon
http://come.to/shlomo.solomon
Sent by KMail (KDE 3.0.3) on LINUX Mandrake 9.0



================================================================To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to