[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to specify the same log for different servers [client-local.cfg and LOG in hobbit-clients.cfg]
- To: hobbit (at) hswn.dk
- Subject: how to specify the same log for different servers [client-local.cfg and LOG in hobbit-clients.cfg]
- From: "Szymon Bakowski" <szymon (at) bakowski.net>
- Date: Tue, 12 Feb 2008 17:14:11 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=kOdO8YgZYod74IwJRSUgNzv0VODMT/FSHq1sSf0CM9A=; b=cn1/crbK8pDvbLaaDlHGZN7jU50mbCu5EKvmz3YLuZm96kb5pbFbJ5AnOj0oIjhU+qOAXXEBIsWdr39i19KRQ5USxBrUONJnUuNdGLAYbUfVJvuYe2OcyosJUn4DFdrnqL0H5UePGyNSSy/ZuFvYgaxpH5rhRZ0ON9G4SyxIbO0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=u2VI7ePoyeW3/MEf6M6izafAgsjOghag3WeNdPwm5bZpJl7i0MOPXssRDws+NLnFYzLEaRDYviJY3EG7KDjFj4Qt5TWvLUFf7IbEDOAlIOim+k+T8swsoimNjDfuNDgULNVZzxYySbJlapMgGnfnZbotPvu+/liZ8mhqsxBCKR0=
Hello to all,
A quick question:
I do have to servers, load balanced, generating two logs comming from
the same application. My goal is to be able to log error messages from
these two machines, having different log names but logs holding the
same content.
Log on the firs machine is in format:
host1.log
and log on the other machine is
host2.log
What I did is in client-local.cfg file I have defined new class as following:
log:/var/lib/app/host*.log:10240
and tried to use it within hobbit-clients.cfg by doing (I do remember
that we can not uses classes within this file, just bb-hosts):
HOST=%host..\.domain\.com
...
LOG %/var/lib/app/host* "ERROR" yellow
But unfortunatelly it doesnt work :(
Is there any viable exit from this situation? Am I missing something
here or it is simply not possible to do it that way?
Kind regards
Szymon