Re: [exim] Multiple Log Files - Feature Request

Etusivu
Poista viesti
Vastaa
Lähettäjä: Chris Meadors
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Multiple Log Files - Feature Request
On Wed, 2005-09-28 at 08:45 -0700, Marc Perkel wrote:
> How would you do that with a separate program?
>
> Basically I have different classes of customers and they use different
> IP addresses in the same computer for my spam filtering service. So if I
> could create separate log files I could monitor them with tail more
> easilly. It's so busy that the screen is a blur from scrolling so fast.
> It's a convienence issue.


So you only want to watch connections from specific interfaces while
tailing the log file?

How about adding a unique identifier to the log based upon the interface
like was already suggested, then grepping for it while you tail the log?

tail -f mainlog | grep identifier