Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Dec 2001 16:29:30 -0000
From:      "Barry Byrne" <barry.byrne@wbtsystems.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   RE: newsyslog - backup logfile question
Message-ID:  <NCBBIAMNAKDKFJIIGNPKOEDMGMAA.barry.byrne@wbtsystems.com>
In-Reply-To: <20011205162540.GA57948@keyslapper.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Louis:

I think the -a option to newsyslog will do what you want - man newsyslog to
be sure.

 - Barry

--
Barry Byrne

> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Louis LeBlanc
> Sent: 05 December 2001 16:26
> To: FreeBSD Questions
> Subject: newsyslog - backup logfile question
>
>
> Quick question about newsyslog.  I suspect it's not possible, but it
> can't hurt much to ask, right?
>
> I often go thru logs on a daily basis, and often have to sort thru the
> directory to find the current logs.  I wonder if it is possible to
> have newsyslog, in addition to gzipping old logs, to put all gzipped
> backups into a ./bak/ directory?  I know it has to know how many
> backups it has kept, so I can't just move *.gz files in on a regular
> basis - that would screw things up.  I found nothing in the manpage,
> and I'm not sure where else to look.
>
> Obviously this would be an easy enough feature to add, but I'm not
> inclined to put yet another rod in the furnace just yet.
>
> Thanks in advance.
> Lou
> --
> Louis LeBlanc               leblanc@keyslapper.org
> Fully Funded Hobbyist, KeySlapper Extrordinaire :)
> http://www.keyslapper.org                     ԿԬ
>
> Mencken and Nathan's Fifteenth Law of The Average American:
>   The worst actress in the company is always the manager's wife.
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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