Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Mar 2009 02:48:34 -0400
From:      Garance A Drosehn <gad@FreeBSD.org>
To:        raggen@raggens.net
Cc:        User Questions <freebsd-questions@FreeBSD.org>
Subject:   Re: Newsyslog mode on /var/log/security?
Message-ID:  <p06240806c5f61b303986@[128.113.24.47]>
In-Reply-To: <49D061C6.6060104@telia.com>
References:  <49CFDEA2.2080606@telia.com> <p06240805c5f59b1b34cd@[128.113.24.47]> <49D061C6.6060104@telia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 8:08 AM +0200 3/30/09, Roger Olofsson wrote:
>Garance A Drosehn skrev:
>>At 10:48 PM +0200 3/29/09, Roger Olofsson wrote:
>>>
>>>I seem to have forgotten something about /var/log/security and 
>>>newsyslog.conf. I get wrong mode after the trim.
>>>
>>>Excerpt from /etc/newsyslog.conf:
>>>/var/log/security                       644  7     5000 *     JC
>>
>>
>>Are you sure that's the only line you have for /var/log/security in
>>your /etc/newsyslog.conf file?  The distributed config file has:
>>
>>/var/log/security            600  10       100    *     JC
>>
>>Obviously you have a different entry from that, but did you remove
>>the original entry?
>
>Hi Garance,
>
>You are correct! I missed the original line. Silly me :^D

Well, I should probably change newsyslog to "do something different"
(he says vaguely) when the same file is specified multiple times.

>Thank you very much!

You're welcome.

-- 
Garance Alistair Drosehn     =               drosehn@rpi.edu
Senior Systems Programmer               or   gad@FreeBSD.org
Rensselaer Polytechnic Institute;             Troy, NY;  USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p06240806c5f61b303986>