~bestpractical/rt/master

« back to all changes in this revision

Viewing changes to etc/RT_Config.pm.in

  • Committer: sunnavy
  • Date: 2023-10-19 19:45:11 UTC
  • mfrom: (8471.1.577)
  • Revision ID: git-v1:9fca83d11d15fb8034308194b9c9052d5df7d454
Merge branch '5.0-trunk'

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
 
146
146
=cut
147
147
 
148
 
Set($Timezone, "US/Eastern");
 
148
Set($Timezone, "America/New_York");
149
149
 
150
150
=item C<@Plugins>
151
151
 
378
378
 
379
379
Set(@LogToSyslogConf, ());
380
380
 
 
381
=item C<$LogScripsForUser>
 
382
 
 
383
Enables logging for each Scrip, and log output can then be found in the
 
384
Scrip Admin web interface. Log output is shown for the most recent run
 
385
of each scrip.
 
386
 
 
387
Accepts a hashref with username and log level. Output is generated only
 
388
when that user performs an action that runs the scrip. Log levels are
 
389
the same as for other RT logging. For example:
 
390
 
 
391
    Set($LogScripsForUser, { 'Username1' => 'debug', 'Username2' => 'warning' });
 
392
 
 
393
This allows you to enable debug logging just for yourself as you test
 
394
a new scrip.
 
395
 
 
396
If you have set the C<LogDir> option it needs to be writeable by the
 
397
webserver user for Scrip logging to work.
 
398
 
 
399
NOTICE: The Ticket Update page that is used to add a Reply or Comment
 
400
will run all relevant Scrips in a dry run mode that executes the
 
401
Scrip Condition and Scrip Prepare code. This means log files might be
 
402
created just by loading the Ticket Update page if Scrip logging is
 
403
enabled.
 
404
 
 
405
=cut
 
406
 
 
407
Set($LogScripsForUser, {});
 
408
 
381
409
=back
382
410
 
383
411
 
3961
3989
    Scrips =>
3962
3990
        q{'<a href="__WebPath__/Admin/Scrips/Modify.html?id=__id____From__">__id__</a>/TITLE:#'}
3963
3991
        .q{,'<a href="__WebPath__/Admin/Scrips/Modify.html?id=__id____From__">__Description__</a>/TITLE:Description'}
3964
 
        .q{,__Condition__, __Action__, __Template__, __Disabled__},
 
3992
        .q{,__Condition__, __Action__, __Template__, __Disabled__,__HasLogs__},
3965
3993
 
3966
3994
    Templates =>
3967
3995
        q{'<a href="__WebPath__/__WebRequestPathDir__/Template.html?Queue=__QueueId__&Template=__id__">__id__</a>/TITLE:#'}