Problems with LogToSyslogConf

View: New views
3 Messages — Rating Filter:   Alert me  

Problems with LogToSyslogConf

by Nick Kartsioukas-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...


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

Re: Problems with LogToSyslogConf

by Ruslan Zakirov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Set(@LogToSyslogConf, (ident => 'compserv_test'));

On Thu, Nov 12, 2009 at 1:10 AM, Nick Kartsioukas
<change+lists.rt@...> 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@...
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>



--
Best regards, Ruslan.
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

Re: Problems with LogToSyslogConf [fixed]

by Nick Kartsioukas-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 12 Nov 2009 06:24:44 +0300, "Ruslan Zakirov"
<ruslan.zakirov@...> said:
> Set(@LogToSyslogConf, (ident => 'compserv_test'));

Oh, crud...now I see my typo, @$LogToSyslogConf...thanks!
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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