Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
tenshi timestamp
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
hegga
Apprentice
Apprentice


Joined: 04 Jun 2003
Posts: 210
Location: Norway

PostPosted: Thu Jun 09, 2005 6:00 pm    Post subject: tenshi timestamp Reply with quote

is there anyone that knows how i can get the timestamps on the loglines included
in the email report?
_________________
hegga
Back to top
View user's profile Send private message
tigger^
Retired Dev
Retired Dev


Joined: 01 Jun 2003
Posts: 9
Location: UK

PostPosted: Tue Jun 14, 2005 8:16 pm    Post subject: Reply with quote

no because that makes no sense.
Back to top
View user's profile Send private message
hegga
Apprentice
Apprentice


Joined: 04 Jun 2003
Posts: 210
Location: Norway

PostPosted: Thu Jun 16, 2005 7:53 am    Post subject: Reply with quote

from man tenshi:

Code:

 tenshi  is  a log monitoring program, designed to watch one or more log files for lines matching user defined regular expressions and report on the matches. The regular expressions
       are assigned to queues which have an alert interval and a list of mail recipients.

       Queues can be set to send a notification as soon as there is a log line assigned to it, or to send periodic reports.

       Additionally, uninteresting fields in the log lines (such as PID numbers) can be masked with the standard regular expression grouping operators ( ). This allows  cleaner  and  more
       readable reports. All reports are separated by hostname and all messages are condensed when possible.


should it not be left to the user to decide if it's interesting to include timestamps?
_________________
hegga
Back to top
View user's profile Send private message
tigger^
Retired Dev
Retired Dev


Joined: 01 Jun 2003
Posts: 9
Location: UK

PostPosted: Thu Jun 16, 2005 9:10 am    Post subject: Reply with quote

Well, no. The whole point of tenshi is summarisation, every timestamp would be different, so we wouldn't be able to summarise anything. You'd basically just get an email version of your log file, whats the point?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum