RE: [exim] Changing Logfilename for exim 4.30

Página Inicial
Delete this message
Reply to this message
Autor: Mark Smith
Data:  
Para: exim-users
Assunto: RE: [exim] Changing Logfilename for exim 4.30


> -----Original Message-----
> From: exim-users-bounces@???
> [mailto:exim-users-bounces@exim.org] On Behalf Of Jens Strohschnitter
>
> Your solution is for recompiling the exim-sources. I asked
> where I can change the logfilename without recompiling the sources:
>
> log_file_path
> Type:  string list, expanded
> Default:  set at compile time
>           ^^^^^^^^^^^^^^^^^^^

>
> Hope there is another chance to change the logfilename. As
> workaround I can link the main.log to mainlog.
>


The destination for Exim's logs is configured by setting LOG_FILE_PATH in
Local/Makefile or by setting log_file_path in the run time configuration.
This latter string is expanded, so it can contain, for example, references
to the host name:

log_file_path = /var/log/$primary_hostname/exim_%slog

http://exim.org/exim-html-4.50/doc/html/spec_48.html#IX2800

- Mark