newsyslog default archived directory

Previous thread: dansguardian by LinuxUser on Tuesday, July 1, 2008 - 12:48 pm. (2 messages)

Next thread: Am I interpreting the man page of ksh incorrectly? by Amarendra Godbole on Wednesday, July 2, 2008 - 3:53 am. (3 messages)
From: Dongsheng Song
Date: Tuesday, July 1, 2008 - 10:50 pm

OpenBSD execute /usr/bin/newsyslog every hour, where newsyslog
archived logs to ?

Thanks,

Dongsheng Song

From: Marco S Hyman
Date: Tuesday, July 1, 2008 - 11:22 pm

"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

From: Marco S Hyman
Date: Wednesday, July 2, 2008 - 12:06 am

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

From: Jason McIntyre
Date: Wednesday, July 2, 2008 - 12:16 am

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

indeed.

jmc

From: Jason McIntyre
Date: Wednesday, July 2, 2008 - 12:26 am

er, an MLINK to newsyslog(8), not syslog(8). ugh.
jmc

Previous thread: dansguardian by LinuxUser on Tuesday, July 1, 2008 - 12:48 pm. (2 messages)

Next thread: Am I interpreting the man page of ksh incorrectly? by Amarendra Godbole on Wednesday, July 2, 2008 - 3:53 am. (3 messages)