Skip Menu |

This queue is for tickets about the RTx-EmailCompletion CPAN distribution.

Report information
The Basics
Id: 36955
Status: resolved
Priority: 0/
Queue: RTx-EmailCompletion

People
Owner: nchuche [...] barna.be
Requestors: natxete [...] asenjo.nl
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: request feature
Date: Fri, 20 Jun 2008 16:08:36 +0200
To: bug-RTx-EmailCompletion [...] rt.cpan.org
From: natxete [...] asenjo.nl (J.I. Asenjo)
hi, first of all, thanks a lot for this extension, it works great in my test environment and will probably do the same in our prodution RT :) What I would like is to have a little less verbose logging. Here is a piece of /var/log/syslog: Jun 20 15:50:35 rttest RT: SELECT DISTINCT main.* FROM Users main , Principals Principals_1 WHERE ((main.EmailAddress LIKE '%test%')) AND ((Principals_1.PrincipalType = 'User')) AND ((main.id = Principals_1.id)) ORDER BY main.Name ASC Jun 20 15:50:37 rttest RT: SELECT DISTINCT main.* FROM Users main , Principals Principals_1 WHERE ((main.EmailAddress LIKE '%test %')) AN D ((Principals_1.PrincipalType = 'User')) AND ((main.id = Principals_1.id)) ORDER BY main.Name ASC Jun 20 15:50:44 rttest RT: SELECT DISTINCT main.* FROM Users main , Principals Principals_1 WHERE ((main.EmailAddress LIKE '%lis%')) AND ((Principals_1.PrincipalType = 'User')) AND ((main.id = Principals_1.id)) ORDER BY main.Name ASC Jun 20 15:50:46 rttest RT: SELECT DISTINCT main.* FROM Users main , Principals Principals_1 WHERE ((main.EmailAddress LIKE '%listtes%')) AND ((Principals_1.PrincipalType = 'User')) AND ((main.id = Principals_1.id)) ORDER BY main.Name ASC Jun 20 15:51:06 rttest RT: SELECT DISTINCT main.* FROM Users main , Principals Principals_1 WHERE ((main.EmailAddress LIKE '%testl%')) AN D ((Principals_1.PrincipalType = 'User')) AND ((main.id = Principals_1.id)) ORDER BY main.Name ASC Jun 20 15:51:17 rttest RT: SELECT DISTINCT main.* FROM Users main , Principals Principals_1 WHERE ((main.EmailAddress LIKE '%root%')) AND ((Principals_1.PrincipalType = 'User')) AND ((main.id = Principals_1.id)) ORDER BY main.Name ASC Jun 20 15:51:17 rttest RT: SELECT DISTINCT main.* FROM Users main , Principals Principals_1 WHERE ((main.EmailAddress LIKE '%root %')) AN D ((Principals_1.PrincipalType = 'User')) AND ((main.id = Principals_1.id)) ORDER BY main.Name ASC Jun 20 15:51:19 rttest RT: SELECT DISTINCT main.* FROM Users main , Principals Principals_1 WHERE ((main.EmailAddress LIKE '%root%')) AND ((Principals_1.PrincipalType = 'User')) AND ((main.id = Principals_1.id)) ORDER BY main.Name ASC Jun 20 15:51:25 rttest RT: SELECT DISTINCT main.* FROM Users main , Principals Principals_1 WHERE ((main.EmailAddress LIKE '%postm%')) AN D ((Principals_1.PrincipalType = 'User')) AND ((main.id = Principals_1.id)) ORDER BY main.Name ASC Jun 20 15:51:30 rttest RT: SELECT DISTINCT main.* FROM Users main , Principals Principals_1 WHERE ((main.EmailAddress LIKE '%pos%')) AND ((Principals_1.PrincipalType = 'User')) AND ((main.id = Principals_1.id)) ORDER BY main.Name ASC Jun 20 15:51:33 rttest RT: SELECT DISTINCT main.* FROM Users main , Principals Principals_1 WHERE ((main.EmailAddress LIKE '%test%')) AND ((Principals_1.PrincipalType = 'User')) AND ((main.id = Principals_1.id)) ORDER BY main.Name ASC Jun 20 15:51:34 rttest RT: SELECT DISTINCT main.* FROM Users main , Principals Principals_1 WHERE ((main.EmailAddress LIKE '%tes%')) AND ((Principals_1.PrincipalType = 'User')) AND ((main.id = Principals_1.id)) ORDER BY main.Name ASC is there a way to be less verbose? I have looked at the source and I see this on line 23: $RT::Logger->debug($Users->BuildSelectQuery); i do not know enough RT internals to know the differnet logging levels. I could not find the pod for RT::Logger either and google did not help either. Do you know if what I'd like is possible? thanks in advance. -- Groeten, J.I.Asenjo
Le Ven. Jun. 20 14:17:12 2008, natxete@asenjo.nl a écrit : Show quoted text
> hi, > > first of all, thanks a lot for this extension, it works great in my test > environment and will probably do the same in our prodution RT :)
Thanks, glad to hear that :) Show quoted text
> What I would like is to have a little less verbose logging. Here is a > piece of /var/log/syslog:
Show quoted text
> [...] > i do not know enough RT internals to know the differnet logging levels. > I could not find the pod for RT::Logger either and google did not help > either. Do you know if what I'd like is possible?
You can change rt's log level in RT_SiteConfig.pm with something like that : Set($LogToSyslog , 'error'); For more information, look for "Logging" in RT_Config.pm.