Opened 19 years ago
Closed 19 years ago
#370 closed patch (wontfix)
Filenames and line numbers in "VERBOSE" traces
Reported by: | 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)
Change History (5)
Changed 19 years ago by
Attachment: | verbose.patch added |
---|
comment:1 Changed 19 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 Changed 19 years ago by
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 19 years ago by
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
comment:4 Changed 19 years ago by
Resolution: | → wontfix |
---|---|
Status: | reopened → closed |
This is what grep is for. I am _not_ applying this patch. Stop wasting my time reopening it.
I don't see a need for this, and the verbose lines are long enough already.