[Rt-devel] [PATCH] find the rt.log file when layout=relative

sunnavy sunnavy at bestpractical.com
Mon Jun 2 03:11:05 EDT 2008


I've fixed this in another way, which fixed relative $LogDir in sub  
LoadConfig in RT.pm

thanks for you patch anyway :)


On May 31, 2008, at 4:19 AM, Jason Long wrote:

> When $LogDir = 'var/log' and layout is "relative",
> RT has trouble finding the log file.
>
> Here is my fix for this problem. Basically, when $LogDir is a relative
> path, it is prefixed with $BasePath ('/opt/rt3' by default).
> ---
>
> lib/RT.pm.in |   26 +++++++++++++++++---------
> 1 files changed, 17 insertions(+), 9 deletions(-)
>
> (Patch is attached)
> <relative-path-to-logfile.patch>


best wishes
sunnavy







More information about the Rt-devel mailing list