Re: Simple piped log fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gerhardus.Geldenhuis@xxxxxxxxxxxxxx wrote:
Thanks!

I have changed it to:
CustomLog "|/usr/bin/logger -p local5.warn" combined

which has solved my problem on my test system.
How would you do logger -t ''?

You could try :
> CustomLog "|/usr/bin/logger -t \'\' -p local5.warn" combined



There is a subtle difference in using an empty tag and not using a tag
at all. I will have to check but I suspect the upstream log analysis is
probably sensitive to the change.

Oct 14 13:58:18 LONGAPA02ALT : empty tag
Oct 14 13:58:26 LONGAPA02ALT root: no tag

Regards

-----Original Message-----
From: Krist van Besien [mailto:krist.vanbesien@xxxxxxxxx] Sent: 14 October 2008 13:32
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Simple piped log fails

On Tue, Oct 14, 2008 at 1:38 PM, <Gerhardus.Geldenhuis@xxxxxxxxxxxxxx> wrote:

Entry in httpd.conf:
CustomLog "|/usr/bin/logger -t '' -p local5.warn" combined
I'm seeing one " to many here. Are you sure this is syntactically correct?

Krist

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux