[syslog-ng] Re: NewBe syslog-ng and fedora core 5 64+bit
Gregory Machin
gregory.machin at gmail.com
Thu Sep 21 13:17:37 CEST 2006
Hi
Thanks to all for the help .. got it working .. :-)
On 9/21/06, G.W. Haywood <ged at jubileegroup.co.uk> wrote:
>
> 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.
> _______________________________________________
> syslog-ng maillist - syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>
--
Gregory Machin
gregory.machin at gmail.com
www.linuxpro.co.za
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20060921/4617ee1c/attachment.htm
More information about the syslog-ng
mailing list