Article View: ch.comp.os.linux
Article #20759Re: Apache mod_log_config Problem
From: Lukas Karrer
Date: Tue, 07 Sep 1999 00:00
Date: Tue, 07 Sep 1999 00:00
36 lines
1804 bytes
1804 bytes
Roland Schneider <rs@9909.pop.cx> wrote:
>>kann ich mit %{SERVER_NAME}e Environemnt Vars in die Logs abspeichern.
>>Die Variable SERVER_NAME wird gesetzt, mod_log weigert sich jedoch, mir
>>dies in das Logfile zu schreiben.
> [...]
> Was bringt dich zur Annahme das SERVER_NAME gesetzt ist ?
> Das Logging wird vom Root-Apache gemacht und der hat seine
> Environment beim Starten uebernommen.
Richtig, that was the Point, ich machte da einen Ueberlegungsfehler
>>LogFormat "%{SERVER_NAME}e %h %l %u %t \"%r\" %s %b" vcommon
LogFormat "%{Host}i %h %l %u %t \"%r\" %s %b" vcommon
muss es heissen und somit funktionierts...
> An den Server-Name kommst du aber in den Logs viel einfacher,
> mod_log_config hat genau dazu ein eigenes Token.
> RTFM nochmals :)
Was ich auch gemacht habe.. Merci fuer die Hilfe
Lukas
--
+-----------------------------------------------------------------------+
Lukas Karrer Email: lkarrer@trash.net
Sysadmin WWW: http://www.trash.net/
+-----------------------------------------------------------------------+
Check out the stinkiest site on the web! Get a sniff from www.trash.net
t r a s h . n e t - free UNIX shell accounts fo Switzerland
Technical Details
Message-ID:
<37d4b73b.0@pfaff.ethz.ch>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37d3e296.0@pfaff.ethz.ch> <BIHUN4o=MTpcHQJy0fBVqnHUGP=7@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII-7-bit
X-Google-Thread: f4b73,c6c8f130daa8a68c
X-Google-Attributes: gidf4b73,public
From: Lukas Karrer <lkarrer@tardis-a4.ee.ethz.ch>
Subject: Re: Apache mod_log_config Problem
Date: 1999/09/07
Message-ID: <37d4b73b.0@pfaff.ethz.ch>
X-Deja-AN: 521992831
References: <37d3e296.0@pfaff.ethz.ch> <BIHUN4o=MTpcHQJy0fBVqnHUGP=7@4ax.com>
X-Trace: 7 Sep 1999 08:56:59 +0100, tardis-a4.ee.ethz.ch
User-Agent: tin/pre-1.4-980818 ("Laura") (UNIX) (SunOS/5.5.1 (sun4u))
Newsgroups: ch.comp.os.linux