[openstack-dev] LOG.debug()

Vedsar Kushwaha vedsarkushwaha at gmail.com
Wed Feb 18 16:03:12 UTC 2015


Thanks for immediate reply. I'm aware of logging_monitoring.html
<http://docs.openstack.org/openstack-ops/content/logging_monitoring.html>
and /var/log. But the information is not there.

LOG.debug(%(host_state)s does not have %(requested_ram)s MB " "usable ram,
it only has %(usable_ram)s MB usable ram.", {'host_state': host_state, '
requested_ram': requested_ram, 'usable_ram': usable_ram}
).

I wanted to know where this information is storing, when filter returns
false.

On Wed, Feb 18, 2015 at 8:26 PM, Gary Kotton <gkotton at vmware.com> wrote:

>  Hi,
> Please see
> http://docs.openstack.org/openstack-ops/content/logging_monitoring.html
> If you have installed from packages this may be in
> /var/log/nova/nova-compute.log
> Thanks
> Gary
>
>   From: Vedsar Kushwaha <vedsarkushwaha at gmail.com>
> Reply-To: OpenStack List <openstack-dev at lists.openstack.org>
> Date: Wednesday, February 18, 2015 at 4:52 PM
> To: OpenStack List <openstack-dev at lists.openstack.org>
> Subject: [openstack-dev] LOG.debug()
>
>   Hello World,
>
>  I'm new to openstack and python too :).
>
> In the file:
>
> https://github.com/openstack/nova/blob/master/nova/scheduler/filters/ram_filter.py
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_nova_blob_master_nova_scheduler_filters_ram-5Ffilter.py&d=AwMFAw&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=VlZxHpZBmzzkWT5jqz9JYBk8YTeq9N3-diTlNj4GyNc&m=DJEz4nE1qVf12YKxUwG0LN0yBMtl3warl36Oqq4Vqpo&s=ONUtXkRDFMM8mfVHff8Fc3zFe9AdJohiOZBUe7P6P3I&e=>
>
>  where does the LOG.debug() is storing the information?
>
>
>
> --
>   Vedsar Kushwaha
> M.Tech-Computational Science
> Indian Institute of Science
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Vedsar Kushwaha
M.Tech-Computational Science
Indian Institute of Science
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150218/cb93ed77/attachment.html>


More information about the OpenStack-dev mailing list