Ticket #163 (reopened defect)

Opened 3 years ago

Last modified 3 years ago

If earthd dies the traceback should go in the logs

Reported by: matthewl Assigned to: julians
Priority: major Milestone:
Component: Daemon Version:
Keywords: Cc:

Description

If I understand things correctly, currently, if the daemon dies there's no immediate way to diagnose what happened. It would be good to get the traceback to go into the logs.

Change History

(follow-up: ↓ 4 ) 03/18/07 08:41:39 changed by matthewl

I realise now that the tracebacks *do* go in the logs! I just naively thought they went into the standard rails logs. That's what confused me.

Perhaps when the daemon dies and you do "earthd status" it should say that the daemon died and have a look in "/tmp/earthd.log" (or wherever)?

I notice that a mesage to this effect appears on standard out when the daemon is run in the foreground

(follow-up: ↓ 3 ) 03/18/07 14:27:16 changed by julians

  • status changed from new to closed.
  • resolution set to wontfix.

If the daemon has died, earthd status has no chance to distinguish between this and a proper shutdown short of analyzing the logs. I am not aware of other daemon status commands that would give you this kind of information. Closing this as wontfix for now - feel free to reopen if you really think that this needs to be implemented.

(in reply to: ↑ 2 ) 03/18/07 14:36:45 changed by matthewl

  • status changed from closed to reopened.
  • resolution deleted.

It's still the case that the traceback doesn't appear in the logs (as far as I'm aware) which it should. So, I'm reopening the ticket. Sorry! :-)

Replying to julians:

If the daemon has died, earthd status has no chance to distinguish between this and a proper shutdown short of analyzing the logs. I am not aware of other daemon status commands that would give you this kind of information. Closing this as wontfix for now - feel free to reopen if you really think that this needs to be implemented.

(in reply to: ↑ 1 ) 03/18/07 16:10:53 changed by julians

I don't understand - above you were saying:

I realise now that the tracebacks *do* go in the logs!

So... is it logged now or is it not?

Also, could you please be more specific about which traceback isn't logged - ideally you would attach a trace that didn't make it into the log file - and which log level setting you were using in your earthd configuration file?

10/18/07 16:06:13 changed by matthewl

  • milestone deleted.

Milestone Uncommited Work deleted