RE: Exim4 & LOG

From: Fisher, Jason (JFisher_at_Huitt-Zollars.com)
Date: 11/29/05

  • Next message: Andrea D'Amico: "report bug about kde-devel"
    Date: Tue, 29 Nov 2005 15:59:51 -0600
    To: <debian-user@lists.debian.org>
    
    

    > -----Original Message-----
    > From: Marco [mailto:marco4ever@libero.it]
    > Sent: Tuesday, November 29, 2005 3:34 PM
    > To: debian-user@lists.debian.org
    > Subject: Exim4 & LOG
    >
    > Hi all,
    > how to disable loggin to syslog, mail.log, mail.info,
    > mail.err, mail.warn for exim4?
    > I would want to leave only /var/log/exim/* log
    >
    > Any idea?
    > Thanks
    > Marco
    >
    >
    > --
    > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
    > with a subject of "unsubscribe". Trouble? Contact
    > listmaster@lists.debian.org
    >
    >

    Hi Marco. I think you can control that in Exim4 with the log_file_path
    variable. By default, at least with debian, exim4 logs to all the
    places you mentioned. The spec for exim4.5x from exim.org indicates you
    can set it as follows:

      LOG_FILE_PATH=syslog syslog only
      LOG_FILE_PATH=:syslog syslog and default path
      LOG_FILE_PATH=syslog : /usr/log/exim_%s syslog and specified
    path
      LOG_FILE_PATH=/usr/log/exim_%s specified path only

    The spec also says this:

                      The value of LOG_FILE_PATH or log_file_path is a
    colon-separated list, currently limited to at most two items. This is
    one option where the facility for changing a list separator may
    not be used. The list must always be colon-separated. If an item in the
    list is "syslog" then syslog is used; otherwise the item must
    either be an absolute path, containing %s at the point where "main",
    "reject", or "panic" is to be inserted, or be empty, implying the use
    of a default path.

    This makes me think you'd want to use:

       LOG_FILE_PATH=/var/log/exim4/%slog

    Since I haven't actually tried this, I can't guarantee it will work like
    I'm thinking it should.
    Hope this is of some help.

    Jason


  • Next message: Andrea D'Amico: "report bug about kde-devel"

    Relevant Pages

    • Re: Exim4 & LOG
      ... Marco wrote: ... > how to disable loggin to syslog, mail.log, mail.info, mail.err, ... > mail.warn for exim4? ...
      (Debian-User)
    • Exim4 & LOG
      ... how to disable loggin to syslog, mail.log, mail.info, mail.err, ... mail.warn for exim4? ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
      (Debian-User)