syslog.dated

From: Mathias Koerber <mathias_at_staff.singnet.com.sg>
Date: Tue, 24 Mar 1998 14:20:28 +0800 (SST)

Hi Managers,

I would like to write some cronjobs that write data to a file
in the *current* syslog.dated subdirectory.

Is there any way I can determine easily which one is the current one?

(I know,
        ls -t /var/adm/syslog.dated | head -1
should do the trick, but I'd like to avoid running that all the time)

I was hoping that syslogd kept a symlink to the current directory somewhere,
but I canot find anything.

Does anyone have any hints...?

This is for DU3.2 and DU4.0


Mathias Koerber | Tel: +65 / 471 9820 | mathias_at_staff.singnet.com.sg
SingNet NOC | Fax: +65 / 475 3273 | mathias_at_koerber.org
Q'town Tel. Exch. | PGP: Keyid: 768/25E082BD, finger mathias_at_singnet.com.sg
2 Stirling Rd | 1A 8B FC D4 93 F1 9A FC BD 98 A3 1A 0E 73 01 65
S'pore 148943 | Disclaimer: I speak only for myself
* Eifersucht ist eine Leidenschaft, die mit Eifer sucht, was Leiden schafft *
Received on Tue Mar 24 1998 - 07:20:41 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT