Error in apache's log "No handlers could be found for logger "maasserver""
Bug #1227081 reported by
Raphaël Badin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Raphaël Badin |
Bug Description
Using the daily package (1.4+bzr1589+
Whilst contrib/
Running "bzr grep getLogger | grep maas" shows that we're using both 'maas' and 'maaserver' when trying to get a logger using getLogger().
I suggest we unify that as we are probably losing some of the logged information.
Related branches
lp:~rvb/maas/unify-loggers
- Gavin Panella (community): Approve
-
Diff: 253 lines (+28/-25)10 files modifiedcontrib/maas_local_settings.py (+5/-1)
src/maasserver/__init__.py (+3/-2)
src/maasserver/dns.py (+2/-2)
src/maasserver/messages.py (+2/-2)
src/maasserver/models/__init__.py (+1/-6)
src/maasserver/tests/test_dns.py (+2/-3)
src/maasserver/views/nodes.py (+2/-3)
src/metadataserver/__init__.py (+7/-0)
src/metadataserver/address.py (+3/-2)
src/metadataserver/api.py (+1/-4)
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | none → 13.10 |
description: | updated |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
We could also set up a handler for maasserver. The same handler as serves maas. Do you know where/how this is defined?