Ticket #378 (closed enhancement: fixed)
Disable trace logging of complex values when the debug config setting is "none"
| Reported by: | boomfish | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 Maintenance Beta |
| Version: | 3.0.178 | Severity: | minor |
| Keywords: | performance | Cc: |
Description
The addTraceStatement() method in EventContext.cfc is very non-performant when the message argument is a complex value.
The actions in addTraceStatement() are not needed when framework debugging is turned off, so a simple enhancement to address the performance issue is to have addTraceStatement() act as a no-op when getModelGlue().getConfigSetting("debug") is "none".
References:
http://groups.google.com/group/model-glue/browse_frm/thread/d59bbf06b8dc0478
http://groups.google.com/group/model-glue/browse_frm/thread/5aca2fb082d63c68
Change History
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)