[syslog-ng] Re: NewBe syslog-ng and fedora core 5 64+bit
G.W. Haywood
ged at jubileegroup.co.uk
Thu Sep 21 13:08:11 CEST 2006
Hi there,
On Thu, 21 Sep 2006 Gregory Machin wrote:
> unresolved reference: inputs
This tells you the problem.
> this is my config file
> ...
> #source inputs { internal(); ...
This 'source' line is commented out, so it doesn't exist, so you can't
use the source 'inputs'. That will be a problem when you try to use it.
Also the internal() source is required so you MUST include it. If you
don't include it, that will be a problem whatever you do.
> ...
> log { source(inputs);
> ...
> log { source(inputs);
> ...
> log { source(inputs);
> ...
Here are three places where you try to use it.
Why was it necessary to ask? If something isn't clear about any of
that I'm sure people here would like to know, so that the clarity
might be improved.
> How should this be defined for fedora core ?
> source stdlog { unix-dgram("/dev/log"); };
I don't use Fedora. I would think that's fine, but others here will
know for sure. You might want to try
log { source(stdlog); ...
somewhere instead of one of your
log { source(inputs);
so that you actually use your 'stdlog' source.
FWIW if you're having trouble understanding the syntax of syslog-ng's
configuration file then I think you're going to run into difficulty if
you try to log to MySQL as a first step. Why not try logging to files
to start with, things will probably be a lot clearer for you. You can
add database logging later, when you have things under control.
--
73,
Ged.
More information about the syslog-ng
mailing list