[Rt-devel] RT.pm LoadConfig sub ... is this a logic error?

Lidio Presutti lidio at ic-unix.ic.utoronto.ca
Thu Apr 21 16:21:44 EDT 2005


Hi Stephen,

you are quite right, that is the correct way to achive what I wanted!
[It was my silly "gotcha" Perl coding :-(  ]

Thanks,

Lidio.


On Thu, 21 Apr 2005, Stephen Turner wrote:
> At Thursday 4/21/2005 03:33 PM, Lidio Presutti wrote:
> >Hi folks,
> >
> >kind of new with RT.  I copied RT_Config.pm to RT_SiteConfig.pm and then I
> >had made a change to my RT_SiteConfig.pm.  I changed
> >
> >Set($LogToSyslog    , 'debug');
> >Set($LogToFile      , undef);
> >
> >to
> >
> >Set($LogToSyslog    , undef);
> >Set($LogToFile      , 'debug');
>
> Lidio,
>
> You need to explicitly set variables to 0 if you want to override the
> RT_Config value with a "false" or "off" setting. Setting a variable to
> undef in RT_SiteConfig won't do what you want.
>
> Steve
>
>


More information about the Rt-devel mailing list