Re: newsyslog default archived directory

2008-07-02 Thread Marco S Hyman
Dongsheng Song writes:
  OpenBSD execute /usr/bin/newsyslog every hour, where newsyslog
  archived logs to ?

Did you think to read the man page for newsyslog? It mentions
a file called newsyslog.conf.  Hmmm, a configuration file.  I
wonder what's in it.  Oh, the man page also says SEE ALSO...
newsyslog.conf(5).

Read the man pages.  Read the configuration file.  You'll get
your answer.

// marc



Re: newsyslog default archived directory

2008-07-02 Thread Marco S Hyman
I wrote...
  Did you think to read the man page for newsyslog? It mentions
  a file called newsyslog.conf.  Hmmm, a configuration file.  I
  wonder what's in it.  Oh, the man page also says SEE ALSO...
  newsyslog.conf(5).

O ops... Our man page does not have the SEE ALSO entry (it should,
IMHO) but does list /etc/newsyslog.conf in the FILES section.  I
was on a different system when I checked.

  Read the man pages.  Read the configuration file.  You'll get
  your answer.

That still stands.

// marc



Re: newsyslog default archived directory

2008-07-02 Thread Jason McIntyre
On Wed, Jul 02, 2008 at 12:06:48AM -0700, Marco S Hyman wrote:
 I wrote...
   Did you think to read the man page for newsyslog? It mentions
   a file called newsyslog.conf.  Hmmm, a configuration file.  I
   wonder what's in it.  Oh, the man page also says SEE ALSO...
   newsyslog.conf(5).
 
 O ops... Our man page does not have the SEE ALSO entry (it should,
 IMHO) but does list /etc/newsyslog.conf in the FILES section.  I
 was on a different system when I checked.
 

heh. the catch is that newsyslog.conf(5) is an MLINK to syslog(8). so
there's no point adding a pointer to the same page in SEE ALSO. this has
confused me a good few times as well.

   Read the man pages.  Read the configuration file.  You'll get
   your answer.
 
 That still stands.
 
 // marc

indeed.

jmc



newsyslog default archived directory

2008-07-01 Thread Dongsheng Song
OpenBSD execute /usr/bin/newsyslog every hour, where newsyslog
archived logs to ?

Thanks,

Dongsheng Song