Opened 14 years ago

Closed 14 years ago

#370 closed patch (wontfix)

Filenames and line numbers in "VERBOSE" traces

Reported by: mythtv@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

This patch extends traces emited by the VERBOSE macro.

Exemple:

2005-09-23 23:25:42.170 mythdbcon.cpp:146 New DB connection, total: 1

Attachments (1)

verbose.patch (1.0 KB) - added by anonymous 14 years ago.

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by anonymous

Attachment: verbose.patch added

comment:1 Changed 14 years ago by Isaac Richards

Resolution: wontfix
Status: newclosed

I don't see a need for this, and the verbose lines are long enough already.

comment:2 Changed 14 years ago by anonymous

It helps locating precisely where the log line came from. IMHO, it's common to have the same error message logged from multiple places, and in such cases it's harder to find exactly where the error occured without the filename and the line number.

Tracking where an error occured is easier with this message: 2005-09-25 03:02:37.386 main.cpp(472) Failed to init MythContext, exiting.

This one is harder to locate: 2005-09-25 03:02:37.386 Failed to init MythContext, exiting.

comment:3 Changed 14 years ago by anonymous

Resolution: wontfix
Status: closedreopened

comment:4 Changed 14 years ago by Isaac Richards

Resolution: wontfix
Status: reopenedclosed

This is what grep is for. I am _not_ applying this patch. Stop wasting my time reopening it.

Note: See TracTickets for help on using tickets.