Re: [openstack-dev] LOG.debug()

2015-02-18 Thread Vedsar Kushwaha
thanks. that worked...:)

On Wed, Feb 18, 2015 at 9:30 PM, Jordan Pittier 
wrote:

> Hi,
> Also, make sure you have :
> debug = True
> verbose = True
> in the [DEFAULT] section of your nova.conf
>
> Jordan
>
> On Wed, Feb 18, 2015 at 3:56 PM, Gary Kotton  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 
>> Reply-To: OpenStack List 
>> Date: Wednesday, February 18, 2015 at 4:52 PM
>> To: OpenStack List 
>> 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
>> 
>>
>>  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-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@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
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] LOG.debug()

2015-02-18 Thread Vedsar Kushwaha
Thanks for immediate reply. I'm aware of 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  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 
> Reply-To: OpenStack List 
> Date: Wednesday, February 18, 2015 at 4:52 PM
> To: OpenStack List 
> 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
> 
>
>  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-requ...@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
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] LOG.debug()

2015-02-18 Thread Jordan Pittier
Hi,
Also, make sure you have :
debug = True
verbose = True
in the [DEFAULT] section of your nova.conf

Jordan

On Wed, Feb 18, 2015 at 3:56 PM, Gary Kotton  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 
> Reply-To: OpenStack List 
> Date: Wednesday, February 18, 2015 at 4:52 PM
> To: OpenStack List 
> 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
> 
>
>  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-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] LOG.debug()

2015-02-18 Thread Gary Kotton
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 
mailto:vedsarkushw...@gmail.com>>
Reply-To: OpenStack List 
mailto:openstack-dev@lists.openstack.org>>
Date: Wednesday, February 18, 2015 at 4:52 PM
To: OpenStack List 
mailto:openstack-dev@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

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-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev