Hi there, my scrip is logged, but my logging commands do not result in a log line. Here is the log the system prints upon its start:
Aug 13 17:23:04 dox RT: <[email protected]> #2211/33968 - Scrip 23 Email dummy (/opt/rt4/sbin/../lib/RT/Action/SendEmail.pm:301) But the following condition does not write the any log: $RT::Logger->info("Hello RT World!"); my $cf=$self->TransactionObj->CreatorObj->LoadCustomFieldByIdentifier('107'); my $cf2 = $session->{'CurrentUser'}->UserObj->FirstCustomFieldValue('107'); $RT::Logger->info("cf=$cf"); $RT::Logger->info("cf2=$cf2"); return 1; What is the problem with the above code? - Gergely
