Hi Su,

if you configured use_syslog=True then this probably will only log to Syslog 
(e.g. /var/log/messages). You should set
this to False to get back /var/log/glance/api.conf

Regards,

        Uwe



Am 26.03.2015 um 05:26 schrieb Su Zhang:
> Thanks for your response Lars!
> I checked the log, however it is an empty file.
> I've already specify "use_syslog = True" in glance-api.conf.
> 
> but here is what I've seen
> su@ubuntu:/opt/stack/glance/glance$ cat /var/log/glance/api.log 
> su@ubuntu:/opt/stack/glance/glance$ 
> 
> 
> any ideas?
> 
> Thanks,
> 
> On Wed, Mar 25, 2015 at 9:23 PM, Lars Kellogg-Stedman <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     On Wed, Mar 25, 2015 at 08:53:07PM -0700, Su Zhang wrote:
>     > su@ubuntu:/opt/stack/glance/glance$ export OS_IMAGE_API_VERSION=2
>     > su@ubuntu:/opt/stack/glance/glance$
>     > glance image-list HTTPInternalServerError (HTTP 500)
> 
>     The first place to look for information is in your glance-api server
>     logs, to see if there is information there about why glance is
>     returning a 500 error to the client.
> 
>     The glance logs should be located in /var/log/glance.
> 
>     --
>     Lars Kellogg-Stedman <[email protected] <mailto:[email protected]>> | larsks 
> @ {freenode,twitter,github}
>     Cloud Engineering / OpenStack          | http://blog.oddbit.com/
> 
> 
> 
> 
> -- 
> Su Zhang
> 
> 
> 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : [email protected]
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to