Logs seem incomplete

Bug #1232154 reported by Gavin Panella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Expired
Critical
Unassigned

Bug Description

While trying to diagnose problems in the Garage MAAS I kept getting 500 Internal Server Errors from MAAS and/or Apache, but nothing about the error was coming out in /var/log/maas/* or /var/log/apache/*.

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

Something has gone wrong with logs - using logger.info() is not producing anything anywhere.

Changed in maas:
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
Raphaël Badin (rvb) wrote :

The fact that a 500 Internal Server error does not generate a log is puzzling and a critical bug (although I suspect it's related to this particular setup because I've never seen this).

Now, the default log level is ERROR (as defined by contrib/maas_local_settings.py:LOGGING.handlers.log.level). So, by default, logger.info() doesn't produce anything.

Revision history for this message
Julian Edwards (julian-edwards) wrote : Re: [Bug 1232154] Re: Logs seem incomplete

On 08/10/13 17:01, Raphaël Badin wrote:
> The fact that a 500 Internal Server error does not generate a log is
> puzzling and a critical bug (although I suspect it's related to this
> particular setup because I've never seen this).
>
> Now, the default log level is ERROR (as defined by
> contrib/maas_local_settings.py:LOGGING.handlers.log.level). So, by
> default, logger.info() doesn't produce anything.
>

That seems a bit crack to me. We should be showing INFO.

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

More info - I changed the default log level in maas_local_settings to DEBUG, and it didn't make any DEBUG logs appear :(

Revision history for this message
Raphaël Badin (rvb) wrote :

I just got a 500 error and saw traceback, as expected, in/var/log/maas/maas.log.

I'm closing this until we can find the root cause, as it seems to be site-specific. Any new on that front Gavin?

Changed in maas:
status: Triaged → Incomplete
Revision history for this message
Raphaël Badin (rvb) wrote :

@Julian: what you saw is bug 1241054.

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

Yeah, I suspect this was environment specific. I'll leave this as Incomplete and let it expire; maybe someone else will observe the issue and want to comment.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for MAAS because there has been no activity for 60 days.]

Changed in maas:
status: Incomplete → Expired
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.