The names of maas-django.log and pserv.log are confusing

Bug #1393997 reported by Graham Binns
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Won't Fix
High
Unassigned

Bug Description

At the moment, we have three main log files in /var/log/maas:

 - maas.log
 - maas-django.log
 - pserv.log

maas.log is an obvious name. It's where MAAS logs — great! What's maas-django.log? What's pserv.log? Why do I have to care?

The answers are:

 - maas-django.log is where the WSGI container logs when things go wrong.
 - pserv.log is where maas-clusterd and all its services log when Twisted blows up (among other things).

The names are confusing at best and obfuscatory at worst. We should rename them — suggested names are region-debug.log and cluster-debug.log respectively — or even *combine* them into one maas-debug.log.

Tags: log
Graham Binns (gmb)
description: updated
Revision history for this message
Gavin Panella (allenap) wrote :

lp:~allenap/maas/regiond renames them thus:

maas-django.log -> regiond.log
pserv.log -> clusterd.log

That includes packaging changes.

Revision history for this message
Julian Edwards (julian-edwards) wrote : Re: [Bug 1393997] Re: The names of maas-django.log and pserv.log are confusing

On Wednesday 19 Nov 2014 00:02:38 you wrote:
> lp:~allenap/maas/regiond renames them thus:
>
> maas-django.log -> regiond.log
> pserv.log -> clusterd.log
>
> That includes packaging changes.

I think we actually want these as foo-debug.log as they're not useful to end
users. maas.log is generally intended to be the user-facing one, and these
log names are a little enticing!

Would you consider regiond-debug.log and clusterd-debug.log?

Revision history for this message
Gavin Panella (allenap) wrote :

> Would you consider regiond-debug.log and clusterd-debug.log?

Of course :) It's just more work, but not much more.

It would be nice to write maas.log into the database and make it available in the UI and web API. Then grubbing around with nasty files need only happen when things go catastrophically wrong. Which they never do, right?

Revision history for this message
Julian Edwards (julian-edwards) wrote :

On Wednesday 19 Nov 2014 14:56:49 you wrote:
> > Would you consider regiond-debug.log and clusterd-debug.log?
>
> Of course :) It's just more work, but not much more.
>
> It would be nice to write maas.log into the database and make it
> available in the UI and web API. Then grubbing around with nasty files
> need only happen when things go catastrophically wrong. Which they never
> do, right?

Easy, it's all syslog, JFDI a syslog client :)

Changed in maas:
status: Triaged → Won't Fix
Changed in maas:
milestone: next → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.