That problem indicates that you do not have syslog-ng configured properly.
I would advise looking at the syslog-ng FAQ or perhaps asking for help
in their mailing list.
I had the same problem a while back and one (or more?) of those
parameters fixed it.

Good luck :-)


On 2/13/07, pascalbout <[EMAIL PROTECTED]> wrote:
>
> hello
>
> Thank you for your response
> I have no problem  with syslog-ng, but with phpsyslog.
> In the web interface, I have only one server in the list of hosts, the
> server where all log files are located.
> I have not all servers in the list of choice, just the local server.
> I have verified the configuration of syslog-ng with your parameter, and all
> seem to be good.
> Thank you
> Regard.
>
>
>
>
>
>
> On 2/12/07, Clayton Dukes <[EMAIL PROTECTED]> wrote:
> >
> > If I understand you correctly, I think you were saying that incoming
> > syslog-ng events are not showing the originating host name, rather the
> > host name of the ng server itself?
> >
> > This is an indication that you have Syslog-NG configured incorrectly.
> > Please read the documentation for that project.
> > Here's a hint (or two):
> > use_dns(yes);
> > dns_cache(yes);
> > use_fqdn(yes);
> > keep_hostname(yes);
> > chain_hostnames(no);
> >
> >
> >
> >
> > On 2/12/07, pascalbout <[EMAIL PROTECTED] > wrote:
> > > hello
> > >
> > > i have installed phpsyslogng in a server A and it's ok.
> > > All logs of all servers are saved in this serveur A. So they are in
> local.
> > > For example :
> > > /tmp :   /syslog/server1/x.log
> > >          /syslog/server2/x.log
> > >          /syslog/server3/y.log
> > >          /syslog/server4/j.log ...
> > > And when i configure syslogng, i write :
> > >
> > > file("/syslog/server1/local6.log" log_prefix("server1 :
> > > "));
> > > file("/syslog/server2/local6.log" log_prefix("server2 :
> > > "));
> > > file("/syslog/server3/user.log" log_prefix("server3 : "));
> > > file("/syslog/server4/user.log" log_prefix("server4 : "));
> > > .....
> > >
> > > My problem is that I have ONLY ONE server in the list of host in
> > > phpsyslogng. it thinks that all the logs are for the local server !
> > > So it is not easy to search a problem for a host !!!!!!!!
> > > I would like to have the list of ALL servers in the Hosts list.
> > >
> > > Thank you for your help.
> > >
> > >
> > >
> > > --
> > >  http://www.ocean-passion.com
> > >
> > >
> -------------------------------------------------------------------------
> > > Using Tomcat but need to do more? Need to support web services,
> security?
> > > Get stuff done quickly with pre-integrated technology to make your job
> > > easier.
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> > >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > > _______________________________________________
> > > Php-syslog-ng-support mailing list
> > > [email protected]
> > >
> https://lists.sourceforge.net/lists/listinfo/php-syslog-ng-support
> > >
> > >
> >
> >
> > --
> > Clayton Dukes
> > Network Management Consulting Engineer | Advanced Services - Central
> Engineering
> > Phone :+1 919.392.6122
> > Mobile :+1 813-545-7373
> > Fax :+1 919-869-1580
> > Cisco Systems, Inc. 7025-3 Kitt Creek Road RTP, NC 27709-4987
> >
> >
> -------------------------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job
> easier.
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > Php-syslog-ng-support mailing list
> > [email protected]
> >
> https://lists.sourceforge.net/lists/listinfo/php-syslog-ng-support
> >
>
>
>
> --
>
> http://www.ocean-passion.com
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Php-syslog-ng-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/php-syslog-ng-support
>
>


-- 
Clayton Dukes
Network Management Consulting Engineer | Advanced Services - Central Engineering
Phone :+1 919.392.6122
Mobile :+1 813-545-7373
Fax :+1 919-869-1580
Cisco Systems, Inc. 7025-3 Kitt Creek Road RTP, NC 27709-4987

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Php-syslog-ng-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/php-syslog-ng-support

Reply via email to