Problems with LogToSyslogConf

I seem to be having trouble with setting the LogToSyslogConf option,
specifically overriding the default ident (multiple instances, I want to
be able to tell the errors apart).

Set(@$LogToSyslogConf, (ident => ‘compserv_test’));
results in the error
Not a SCALAR reference at
/home/rt/test_compserv_rt/bin/…/lib/RT/Config.pm line 661.

Set(@$LogToSyslogConf, (ident = ‘compserv_test’));
results in the error
Can’t modify constant item in scalar assignment at
/home/rt/test_compserv_rt/etc/RT_SiteConfig.pm line 34, near
"‘compserv_test’)"

@$LogToSyslogConf = (ident => ‘compserv_test’);
No error, but no effect

Am I typo-ing something and just not seeing it?

Set(@LogToSyslogConf, (ident => ‘compserv_test’));On Thu, Nov 12, 2009 at 1:10 AM, Nick Kartsioukas change+lists.rt@nightwind.net wrote:

I seem to be having trouble with setting the LogToSyslogConf option,
specifically overriding the default ident (multiple instances, I want to
be able to tell the errors apart).

Set(@$LogToSyslogConf, (ident => ‘compserv_test’));
results in the error
Not a SCALAR reference at
/home/rt/test_compserv_rt/bin/…/lib/RT/Config.pm line 661.

Set(@$LogToSyslogConf, (ident = ‘compserv_test’));
results in the error
Can’t modify constant item in scalar assignment at
/home/rt/test_compserv_rt/etc/RT_SiteConfig.pm line 34, near
"‘compserv_test’)"

@$LogToSyslogConf = (ident => ‘compserv_test’);
No error, but no effect

Am I typo-ing something and just not seeing it?


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Best regards, Ruslan.

On Thu, 12 Nov 2009 06:24:44 +0300, "Ruslan Zakirov"
ruslan.zakirov@gmail.com said:

Set(@LogToSyslogConf, (ident => ‘compserv_test’));

Oh, crud…now I see my typo, @$LogToSyslogConf…thanks!