Opened 13 years ago

Closed 13 years ago

#9734 closed Bug Report - General (Fixed)

moved logfile initialization just after parameters parsing

Reported by: jorcas33@… Owned by: sphery
Priority: minor Milestone: 0.25
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

If logfile is enabled in mythwelcome (with --logfile parameter), and something goes wrong in the context or database initialization, nothing appear in the log

I moved the logfile initialization just after the parameters parsing, so before any mythTV initialization stuff.

Attachments (1)

mythtv-0.24-p1.patch (939 bytes) - added by jorcas33@… 13 years ago.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by jorcas33@…

Attachment: mythtv-0.24-p1.patch added

comment:1 Changed 13 years ago by jorcas33@…

I forgot to give information on the version, it is 0.24-fixes

comment:2 Changed 13 years ago by Raymond Wagner

Component: MythTV - Mythwelcome & MythshutdownMythTV - General
Owner: changed from Anduin Withers to sphery
Status: newassigned
Version: UnspecifiedTrunk Head

Assigning to Michael Dean as part of plans to rework much of the logging interface, including log file usage. The patch will likely not be valid afterwards, but the issue can be resolved as part of that.

comment:3 Changed 13 years ago by sphery

Milestone: unknown0.25
Resolution: Fixed
Status: assignedclosed

Fixed by logging rewrite.

Note: See TracTickets for help on using tickets.