Find the rt.log file when layout=relative

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 (1.72 KB)

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