Opened 18 years ago
Closed 18 years ago
#4664 closed defect (fixed)
mythshutdown verbose output missing
| Reported by: | Nigel | Owned by: | Nigel |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | mythshutdown | Version: | head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
Bill reported: I get "mythshutdown: Could not initialize myth context. Exiting." in my
mythbackend log when the scheduler attempts begin the shutdown sequence.
This may be due to HOME not being set, but it appears vital VERBOSE output, explaining the problem, is missing. Suspect that the verbose mask is not being set early enough.
Change History (4)
comment:1 by , 18 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
comment:2 by , 18 years ago
| Resolution: | wontfix |
|---|---|
| Status: | closed → new |
That is the problem. mythshutdown -v all didn't add any extra output (esp. MythCOntext related output). The call to parse the verbose flags needs to be earlier,
comment:3 by , 18 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:4 by , 18 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
(In [16033]) Initialise MythContext later, so we can get -v output from it. Closes #4664

mythshutdown is silent by design that's because it's called very often by the BE and if it wasn't it would quickly fill the BE log with useless messages. You can of cause always override that by adding whatever verbose flags you want.