Ticket UUID: | 1530725 | |||
Title: | proc trace logging facility for logger pkg | |||
Type: | Patch | Version: | None | |
Submitter: | muonics | Created on: | 2006-07-29 02:02:09 | |
Subsystem: | log | Assigned To: | mic42 | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2006-08-18 22:07:33 | |
Resolution: | Accepted | Closed By: | mic42 | |
Closed on: | 2006-08-18 15:07:33 | |||
Description: |
This patch adds support for logging of procedure calls to the logger package, as discussed briefly on the mailing list a while back. It adds a "trace" command to each logger service to register procedures (single, by pattern, or entire namespaces) for enter/leave trace events to be logged, and to enable and disable the logging of traces. logprocs for traces are given a dictionary of fields detailing the trace event, rather than a pre-formatted message, but still in a single argument for compatibility. Patch includes updates to logger.tcl, logger.man and logger.test. [submitted on behalf of Cisco, not Muonics] | |||
User Comments: |
mic42 added on 2006-08-18 22:07:33:
Logged In: YES user_id=302287 Thanks for the patch. Applied it to the current CVS Head, its in logger version 0.7. I needed to fix some minor failures in the testsuite (to specific pathes to the logger.tcl file, wrongNumArgs which were not prepared for running with Tcl 8.5). muonics added on 2006-07-29 09:02:10: File Added - 186674: logger-trace.patch |
Attachments:
- logger-trace.patch [download] added by muonics on 2006-07-29 09:02:10. [details]