Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Devel

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

 

 

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded


jlong at messiah

May 30, 2008, 1:19 PM

Post #1 of 2 (317 views)
Permalink
[PATCH] 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)
Attachments: relative-path-to-logfile.patch (1.72 KB)


sunnavy at bestpractical

Jun 2, 2008, 12:11 AM

Post #2 of 2 (282 views)
Permalink
Re: [PATCH] find the rt.log file when layout=relative [In reply to]

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





_______________________________________________
List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.