[syslog-ng]For loghost application

Franco Cucchi [email protected]
Thu, 3 Aug 2000 17:09:21 +0100


--0__=4125693000568FD68f9e8a93df938690918c4125693000568FD6
Content-type: text/plain; charset=us-ascii


Hi John,
thanks very much for your replay!
As I told in my previous e-mail I'm trying to use a Linux machine as loghost for IBM AIX and SUN Solaris 7 machines.
In the AIX machine I tryed to launch the syslogd with this two examples of syslog.conf files:
(See attached file: syslog.conf.txt)(See attached file: syslog.conf)
The commad to invoke the syslog daemon is:
> nohup /usr/sbin/syslogd -d -f /<path>/syslog.conf

but the nohup.out file that contains the response tells me that the syslogd can't resolve " * " as all the priority names and no messages appear in /var/log of the Linux machine.
Take a look for example at this row:

  auth.debug;user.debug;daemon.none      @cdslog

where the cdslog is the name of the log host and ws2 (in the file syslog.conf) is the name of the IBM machine.
If I want to write the messages in a particular file in the log host ( example /var/log/messages) where should I have to specify this path (cause I thik that @cdslog isn't enough and I can't see where messages are written)?

If I think at  using the syslog-ng, the advantage is great or the syslogd is enough for my applications?


Thanks in advance

Best Regards
Franco
--0__=4125693000568FD68f9e8a93df938690918c4125693000568FD6
Content-type: text/plain; 
	name="syslog.conf.txt"
Content-transfer-encoding: base64

Ki4qICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBA
MTkyLjE2OC40MS4xNQ0KDQojIExvZyBhbGwga2VybmVsIG1lc3NhZ2VzIHRvIHRoZSBjb25zb2xl
Lg0KIyBMb2dnaW5nIG11Y2ggZWxzZSBjbHV0dGVycyB1cCB0aGUgc2NyZWVuLg0KI2tlcm4uKiAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvZGV2L2NvbnNv
bGUNCg0KIyBMb2cgYW55dGhpbmcgKGV4Y2VwdCBtYWlsKSBvZiBsZXZlbCBpbmZvIG9yIGhpZ2hl
ci4NCiNEb24ndCBsb2cgcHJpdmF0ZSBhdXRoZW50aWNhdGlvbiBtZXNzYWdlcyENCiouaW5mbztt
YWlsLm5vbmU7YXV0aHByaXYubm9uZSAgICAgICAgICAgICAgICAgICAgICAgICAgL3Zhci9sb2cv
bWVzc2FnZXMNCg0KIyBUaGUgYXV0aHByaXYgZmlsZSBoYXMgcmVzdHJpY3RlZCBhY2Nlc3MuDQph
dXRocHJpdi4qICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC92
YXIvbG9nL3NlY3VyZQ0KDQojIExvZyBhbGwgdGhlIG1haWwgbWVzc2FnZXMgaW4gb25lIHBsYWNl
Lg0KbWFpbC4qICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAvdmFyL2xvZy9tYWlsbG9nDQoNCiMgTG9nICBhbGwgc3NoMSB0cmFmZmljDQpsb2NhbDEuaW5m
byAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC92YXIvbG9nL3Nz
aGRsb2cNCg0KIyBFdmVyeWJvZHkgZ2V0cyBlbWVyZ2VuY3kgbWVzc2FnZXMsIHBsdXMgbG9nIHRo
ZW0gb24gYW5vdGhlcg0KIyBtYWNoaW5lLg0KKi5lbWVyZyAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAqDQoNCiMgU2F2ZSBtYWlsIGFuZCBuZXdzIGVycm9y
cyBvZiBsZXZlbCBlcnIgYW5kIGhpZ2hlciBpbiBhDQojIHNwZWNpYWwgZmlsZS4NCnV1Y3AsbmV3
cy5jcml0ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL3Zhci9sb2cv
c3Bvb2xlcg0K

--0__=4125693000568FD68f9e8a93df938690918c4125693000568FD6
Content-type: application/octet-stream; 
	name="syslog.conf"
Content-Disposition: attachment; filename="syslog.conf"
Content-transfer-encoding: base64

IyBAKCMpMzQJMS45ICBzcmMvYm9zL2V0Yy9zeXNsb2cvc3lzbG9nLmNvbmYsIGNtZG5ldCwgYm9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