Issue Details (XML | Word | Printable)

Key: FOR-702
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Ross Gardler
Reporter: Ross Gardler
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Forrest

Improve logging from Locationmap

Created: 05/Oct/05 11:16 AM   Updated: 10/Dec/05 01:12 AM
Return to search
Component/s: Locationmap
Affects Version/s: None
Fix Version/s: 0.8

Time Tracking:
Not Specified

Issue Links:
Incorporates
 


 Description  « Hide
Debugging locationmaps is currently very difficult as no log information is provided.

We need the following debug log entries:

- for matches - record all entries encountered
- for select statements, record all entries being tested

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
David Crossley added a comment - 05/Oct/05 12:49 PM
Sorry don't understand what you mean. Did you raise the log level in WEB-INF/logkit.xconf file? .... you said "no log information is provided".

Or do you want "extra" information to be logged?

Tim Williams added a comment - 06/Dec/05 03:01 PM
Is this still an issue? Someone has apparently improved this significantly. I just turned on debugging and was pleasantly suprised to see some good info being logged. Is there something more specific that is needed with this issue?

Ross Gardler added a comment - 06/Dec/05 06:40 PM
Yeah, I've been working on it periodically as I work on Locationmaps. Basically, if I find a problem I can't solve I add logging.

I've not found such a problem for a while, so maybe this issue can be closed, but not yet...

Right now the locatonmap logs are being duplicated in the linkrewriter, the locationmap and the core logs. This is a waste of resources, we need to make them appear in just the locationmap log. I guess this is a logkit.xconf setting

David Crossley added a comment - 07/Dec/05 08:45 AM
Re: Comment [06/Dec/05 10:40 AM]
The logkit.conf issue is followed up here:
 http://marc.theaimsgroup.com/?l=forrest-dev&m=11339125672532
 Re: tuning the logfiles

David Crossley added a comment - 09/Dec/05 06:35 PM
There used to be an issue that, if a match is not found, then no actual error is recorded - the request sort of silently falls out the end of the locationmap. Not sure if that can even be helped.

Also there is the related issue FOR-701 "Missing locationmap entry gives poor error"

Ross Gardler added a comment - 10/Dec/05 01:12 AM
Resolving this issue, logs are fairly good now.