Re: {bb} logadm : /var/log/messages is empty

Robert Sigillito <[email protected]> Mon, 29 Jan 2007 12:46:07 -0500
Newsgroups gmane.network.bb4.general
Message-ID <[email protected]>
Josephine,

The easiest way I found was to put the following line in root's crontab:

/usr/bin/logger -p alert "Syslog Rotated"

bob


Josephine Tsikoudaki wrote:
> Hello,
> 
> I am running bb client in Solaris 9 and i am using logadm to rotate log 
> files
> The problem is that I get an alert every time the file is being rotated 
> for as long as it is empty.
> 
> I would like to avoid this alarms without disabling the msg check
> 
> While searching in the bb archives I found a similar problem that was 
> solved by adding a line to the newsyslog file, so every time the file 
> rotates, a line is added and the file is not empty...
> 
> Is there any way to do this (or something similar) using logadm?
> 
> Thank you all in advance
> 
> josephine
> 
> -- 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
> To unsubscribe from this list, or to subscribe to the bb-digest list
> send e-mail to mailto:[email protected] with unsubscribe bb -and/or-
> subscribe bb-digest in the BODY of the message.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:[email protected] with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.