yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #28208
[Bug 1418923] [NEW] The logger WatchedFileHandler don't write to nova.log
Public bug reported:
The following is the change i made to /etc/nova/logging.conf ,
[logger_nova]
level = DEBUG
handlers = watchedfile
qualname = nova
[handler_watchedfile]
class = handlers.WatchedFileHandler
args = ('/var/log/nova/nova.log',)
formatter = context
there is no nova.log after restart nova* service and all service are up
** Affects: nova
Importance: Undecided
Status: New
** Description changed:
- The following is the /etc/nova/logging.conf , there is no nova.log
- after restart nova* service
-
- [loggers]
- keys = root, nova
-
- [handlers]
- keys = stderr, stdout, watchedfile, syslog, null
-
- [formatters]
- keys = context, default
-
- [logger_root]
- level = INFO
- handlers = null
+ The following is the change i made to /etc/nova/logging.conf ,
[logger_nova]
level = DEBUG
handlers = watchedfile
qualname = nova
- [logger_amqp]
- level = WARNING
- handlers = stderr
- qualname = amqp
-
- [logger_amqplib]
- level = WARNING
- handlers = stderr
- qualname = amqplib
-
- [logger_sqlalchemy]
- level = WARNING
- handlers = stderr
- qualname = sqlalchemy
- # "level = INFO" logs SQL queries.
- # "level = DEBUG" logs SQL queries and results.
- # "level = WARNING" logs neither. (Recommended for production systems.)
-
- [logger_boto]
- level = WARNING
- handlers = stderr
- qualname = boto
-
- [logger_suds]
- level = INFO
- handlers = stderr
- qualname = suds
-
- [logger_eventletwsgi]
- level = WARNING
- handlers = stderr
- qualname = eventlet.wsgi.server
-
- [handler_stderr]
- class = StreamHandler
- args = (sys.stderr,)
- formatter = context
-
- [handler_stdout]
- class = StreamHandler
- args = (sys.stdout,)
- formatter = context
[handler_watchedfile]
class = handlers.WatchedFileHandler
args = ('/var/log/nova/nova.log',)
formatter = context
- [handler_syslog]
- class = handlers.SysLogHandler
- args = ('/dev/log', handlers.SysLogHandler.LOG_USER)
- formatter = context
-
- [handler_null]
- class = nova.openstack.common.log.NullHandler
- formatter = default
- args = ()
-
- [formatter_context]
- class = nova.openstack.common.log.ContextFormatter
-
- [formatter_default]
- format = %(message)s
+ there is no nova.log after restart nova* service
** Description changed:
The following is the change i made to /etc/nova/logging.conf ,
[logger_nova]
level = DEBUG
handlers = watchedfile
qualname = nova
-
[handler_watchedfile]
class = handlers.WatchedFileHandler
args = ('/var/log/nova/nova.log',)
formatter = context
- there is no nova.log after restart nova* service
+ there is no nova.log after restart nova* service and all service are up
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1418923
Title:
The logger WatchedFileHandler don't write to nova.log
Status in OpenStack Compute (Nova):
New
Bug description:
The following is the change i made to /etc/nova/logging.conf ,
[logger_nova]
level = DEBUG
handlers = watchedfile
qualname = nova
[handler_watchedfile]
class = handlers.WatchedFileHandler
args = ('/var/log/nova/nova.log',)
formatter = context
there is no nova.log after restart nova* service and all service are
up
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1418923/+subscriptions
Follow ups
References