Revision history [back]

click to hide/show revision 1
initial version

List of all the nova loggers

Hi everyone, I'm using the Havana release and I can see from the $PYTHONDIR/nova/openstack/common/log.py that the default loggers level are:

  • 'amqplib=WARN',
  • 'sqlalchemy=WARN',
  • 'boto=WARN',
  • 'suds=INFO',
  • 'keystone=INFO',
  • 'eventlet.wsgi.server=WARN'

but from the log files I can see that the messages come from nova.api.openstack.wsgi, qpid.messaging, nova.osapi_compute.wsgi.server, nova.openstack.common.rpc.amqp etc..

I don't unsertand which logger print what type of message.

My problem is that I need to find several information by the logs, so I set the option debug=True but now I receive too much prints in the log files, also if I don't send any request through the cli. The log files are constantly growing. Moreover, I don't know if I can obtain more information from other loggers or what I'm getting now is all.

So my questions are:

  1. What is the list of ALL the possible loggers of Nova? (are there more loggers than the default list includes?)
  2. For every logger, what kind of messaged and information does it print?
  3. If I set the debug=True, can I set all the loggers levels = debug, except for few of them? Or the debug option is binary (for all or for anyone)?

Thank you a lot!

List of all the nova loggers

Hi everyone, I'm using the Havana release and I can see from the $PYTHONDIR/nova/openstack/common/log.py that the default loggers level are:

  • 'amqplib=WARN',
  • 'sqlalchemy=WARN',
  • 'boto=WARN',
  • 'suds=INFO',
  • 'keystone=INFO',
  • 'eventlet.wsgi.server=WARN'

but from the log files I can see that the messages come from nova.api.openstack.wsgi, qpid.messaging, nova.osapi_compute.wsgi.server, nova.openstack.common.rpc.amqp etc..

I don't unsertand which logger print what type of message.

My problem is that I need to find several information by the logs, so I set the option debug=True but now I receive too much prints in the log files, also if I don't send any request through the cli. The log files are constantly growing. Moreover, I don't know if I can obtain more information from other loggers or or, instead, what I'm getting now is all.all that I can obtain.

So my questions are:

  1. What is the list of ALL the possible loggers of Nova? (are there more loggers than the default list includes?)
  2. For every logger, what kind of messaged messages and information does it print?
  3. If I set the debug=True, can I set all the loggers levels = debug, except for few of them? Or the debug option is binary (for all or for anyone)?

Thank you a lot!

List of all the nova Nova loggers

Hi everyone, I'm using the Havana release and I can see from the $PYTHONDIR/nova/openstack/common/log.py that the default loggers level are:

  • 'amqplib=WARN',
  • 'sqlalchemy=WARN',
  • 'boto=WARN',
  • 'suds=INFO',
  • 'keystone=INFO',
  • 'eventlet.wsgi.server=WARN'

but from From the web page of the Juno release, I can see other default logger levels:

  • amqp=WARN,
  • amqplib=WARN,
  • boto=WARN,
  • qpid=WARN,
  • sqlalchemy=WARN,
  • suds=INFO,
  • oslo.messaging=INFO,
  • iso8601=WARN,
  • requests.packages.urllib3.connectionpool=WARN,
  • urllib3.connectionpool=WARN, websocket=WARN,
  • keystonemiddleware=WARN,
  • routes.middleware=WARN,
  • stevedore=WARN

So, the possible loggers are the ones that are listed in the configuration files, or there are other loggers that are not listed there? How can I find them?

I ask this because I set debug = True and in the log files I can see that the messages come from modules like nova.api.openstack.wsgi, qpid.messaging, nova.osapi_compute.wsgi.server, nova.openstack.common.rpc.amqp etc..

I don't unsertand which logger print what type of message.message. For example, to don't have all the messages that comes from the module nova.openstack.common.rpc.amqp, which logger do I need to change? ampq or ampqlib? And if I want the nova.api.openstack.wsgi but not nova.osapi_compute.wsgi.server? It's not clear hot to control them and where they come from.

My problem is that I need to find several information by the logs, so I set the option debug=True but now I receive too much prints in the log files, also if I don't send any request through the cli. files. The log files are constantly growing. Moreover, I don't know if I can obtain more information from other loggers or, instead, what I'm getting now is all that I can obtain.I need to select only some of them. For instance I need to suppress the messages that come from qpid.messaging.io..., nova.openstack.common.rpc..., nova.osapi_compute.wsgi.server, etc..

but I need to store the debug messages that come from nova.api.openstack.wsgi, nova.compute.api,nova.scheduler.filter_scheduler, nova.virt, nova.openstack.common.processutils, etc..

So my questions are:

  1. What is the list of ALL the possible loggers of Nova? (are Are there more loggers than the default list includes?)includes?
  2. For every logger, logger that you know, what kind of messages and information from what modules does it print?
  3. If I set the debug=True, can I set are all the loggers level = debug automatically, or the log levels = debug, except specified in the default_log_levels configuration option (in nova.conf) are not changed?

If I've not been clear, please, ask me for few of them? Or the debug option is binary (for all or for anyone)?

more details. Thank you a lot!

Nova loggers

Hi everyone, I'm using the Havana release and I can see from the $PYTHONDIR/nova/openstack/common/log.py that the default loggers level are:

  • 'amqplib=WARN',
  • 'sqlalchemy=WARN',
  • 'boto=WARN',
  • 'suds=INFO',
  • 'keystone=INFO',
  • 'eventlet.wsgi.server=WARN'

From the web page of the Juno release, I can see other default logger levels:

  • amqp=WARN,
  • amqplib=WARN,
  • boto=WARN,
  • qpid=WARN,
  • sqlalchemy=WARN,
  • suds=INFO,
  • oslo.messaging=INFO,
  • iso8601=WARN,
  • requests.packages.urllib3.connectionpool=WARN,
  • urllib3.connectionpool=WARN, websocket=WARN,
  • keystonemiddleware=WARN,
  • routes.middleware=WARN,
  • stevedore=WARN

So, the possible loggers are the ones that are listed in the configuration files, or there are other loggers that are not listed there? How can I find them?

I ask this because I set debug = True and in the log files I can see that the messages come from modules like nova.api.openstack.wsgi, qpid.messaging, nova.osapi_compute.wsgi.server, nova.openstack.common.rpc.amqp etc..

I don't unsertand which logger print what type of message. For example, to don't have all the messages that comes from the module nova.openstack.common.rpc.amqp, which logger do I need to change? ampq or ampqlib? And if I want the nova.api.openstack.wsgi but not nova.osapi_compute.wsgi.server? It's not clear hot to control them and where they come from.

My problem is that I need to find several information by the logs, so I set the option debug=True but now I receive too much prints in the log files. The log files are constantly growing. I need to select only some of them. For instance I need to suppress the messages that come from qpid.messaging.io..., nova.openstack.common.rpc..., nova.osapi_compute.wsgi.server, etc..

but I need to store the debug messages that come from nova.api.openstack.wsgi, nova.compute.api,nova.scheduler.filter_scheduler, nova.virt, nova.openstack.common.processutils, etc..

So my questions are:

  1. Are there more loggers than the default list includes?
  2. For every logger that you know, what messages and from what modules does it print?
  3. If I set the debug=True, are all the loggers level = debug automatically, or the log levels specified in the default_log_levels configuration option (in nova.conf) are not changed?

If I've not been clear, For more information about my doubts, please, ask me for more details. me. Thank you a lot!

Nova loggers

Hi everyone, I'm using the Havana release and I can see from the $PYTHONDIR/nova/openstack/common/log.py that the default loggers level are:

  • 'amqplib=WARN',
  • 'sqlalchemy=WARN',
  • 'boto=WARN',
  • 'suds=INFO',
  • 'keystone=INFO',
  • 'eventlet.wsgi.server=WARN'

From the web page of the Juno release, I can see other default logger levels:

  • amqp=WARN,
  • amqplib=WARN,
  • boto=WARN,
  • qpid=WARN,
  • sqlalchemy=WARN,
  • suds=INFO,
  • oslo.messaging=INFO,
  • iso8601=WARN,
  • requests.packages.urllib3.connectionpool=WARN,
  • urllib3.connectionpool=WARN, websocket=WARN,
  • keystonemiddleware=WARN,
  • routes.middleware=WARN,
  • stevedore=WARN

So, the possible loggers are the ones that are listed in the configuration files, or there are other loggers that are not listed there? How can I find them?

I ask this this, because I set debug = True and in the log files I can see that the messages come from modules like nova.api.openstack.wsgi, qpid.messaging, nova.osapi_compute.wsgi.server, nova.openstack.common.rpc.amqp etc..

I don't unsertand which logger print what type of message. For example, to don't have remove all the debug messages that comes from the module nova.openstack.common.rpc.amqp, which logger level do I need to change? ampq or ampqlib? And if I want the nova.api.openstack.wsgi but not nova.osapi_compute.wsgi.server? It's not clear hot to control them and where they come from.

My problem is that I need to find several information by the logs, so I set the option debug=True but now I receive too much prints in the log files. The log files are constantly growing. I need to select only some of them. For instance I need to suppress the messages that come from qpid.messaging.io..., nova.openstack.common.rpc..., nova.osapi_compute.wsgi.server, etc..

but I need to store the debug messages that come from nova.api.openstack.wsgi, nova.compute.api,nova.scheduler.filter_scheduler, nova.virt, nova.openstack.common.processutils, etc..

So my questions are:

  1. Are there more loggers than the default list includes?
  2. For every logger that you know, what messages and from what modules does it print?
  3. If I set the debug=True, are all the loggers level = debug automatically, or the log levels specified in the default_log_levels configuration option (in nova.conf) are not changed?

For more information about my doubts, please, ask me. Thank you a lot!