chirag agarwal wrote:
> There is a parameter "SyslogHost" given in
> LoggerPropertyConfigurator.php file to set the
> remote syslog server host name.I tried configuring that
but getting
> the error message
> "LoggerOptionConverter::setProperty() No such
setter method for
> [SyslogHost] property in loggerappendersyslog. in"
.
The example in the documentation is wrong here. There is no
property
SyslogHost on LoggerAppenderSyslog (I don't know where this
example come
from). The "SyslogHost" property is only referred
to as an example in
LoggerPropertyConfigurator. I've corrected this example in
my working
copy so it will be fixed in my next check in.
I think the solution is to configure syslog.conf to log to
the remote
syslog server instead.
Knut
PS! Please don't double post. It's a bit messy to have two
threads on
the same topic. Use the user-list for user-related questions
as this one
|