[google-appengine] Re: Get request from logging for Google App Engine (flexible environment)

2016-06-30 Thread 'Nick (Cloud Platform Support)' via Google App Engine
Hey Lu,

We've taken a look at the issue, and engineering is now working on it, but 
of course you've seen that from the thread itself. Just wanted to say 
thanks again for making a report and linking it here. 

Cheers,

Nick
Cloud Platform Community Support

On Friday, June 24, 2016 at 4:53:56 PM UTC-4, Lu Rocky wrote:
>
> Hi Nick,
>
> Thanks for your suggestion, I have post the issue, and here is the link 
> for issue is:
> https://code.google.com/p/googleappengine/issues/detail?id=13087
>
> Sincerely,
> Rocky
>
> On Friday, June 24, 2016 at 2:21:07 PM UTC-5, Nick (Cloud Platform 
> Support) wrote:
>>
>> Hey Lu,
>>
>> Be sure to post the issue link here once you've created it. I'll be happy 
>> to help work on the feature request!
>>
>> Sincerely,
>>
>> Nick
>> Cloud Platform Community Support
>>
>> On Wednesday, June 22, 2016 at 5:21:10 PM UTC-4, Lu Rocky wrote:
>>>
>>> Hi I am immigrating an app from standard environment to flexible 
>>> environment. But I am facing a problem, in the standard environment I have 
>>> built a flask server using python, and whenever I receive a HTTP get, I 
>>> record the request ID for the request log by 
>>> "os.environ.get('REQUEST_LOG_ID')". This help me to check the request log 
>>> in the future easily. This method is also taught on Google's document with 
>>> topic "How requests are handled" (
>>> https://cloud.google.com/appengine/docs/python/how-requests-are-handled). 
>>> But now in the flexible environment, I find there is no "'REQUEST_LOG_ID" 
>>> in the result returned by "os.environ". And I can not find any instruction 
>>> on how to get request id in flexible environment (the request id is still 
>>> exist, I can see the request id in the request log). So is there any way to 
>>> get the request id?
>>>
>>> Thanks so much for any help!
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/5f969a09-2332-4e53-9d1d-3c66b0fec612%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Get request from logging for Google App Engine (flexible environment)

2016-06-24 Thread Lu Rocky
Hi Nick,

Thanks for your suggestion, I have post the issue, and here is the link for 
issue is:
https://code.google.com/p/googleappengine/issues/detail?id=13087

Sincerely,
Rocky

On Friday, June 24, 2016 at 2:21:07 PM UTC-5, Nick (Cloud Platform Support) 
wrote:
>
> Hey Lu,
>
> Be sure to post the issue link here once you've created it. I'll be happy 
> to help work on the feature request!
>
> Sincerely,
>
> Nick
> Cloud Platform Community Support
>
> On Wednesday, June 22, 2016 at 5:21:10 PM UTC-4, Lu Rocky wrote:
>>
>> Hi I am immigrating an app from standard environment to flexible 
>> environment. But I am facing a problem, in the standard environment I have 
>> built a flask server using python, and whenever I receive a HTTP get, I 
>> record the request ID for the request log by 
>> "os.environ.get('REQUEST_LOG_ID')". This help me to check the request log 
>> in the future easily. This method is also taught on Google's document with 
>> topic "How requests are handled" (
>> https://cloud.google.com/appengine/docs/python/how-requests-are-handled). 
>> But now in the flexible environment, I find there is no "'REQUEST_LOG_ID" 
>> in the result returned by "os.environ". And I can not find any instruction 
>> on how to get request id in flexible environment (the request id is still 
>> exist, I can see the request id in the request log). So is there any way to 
>> get the request id?
>>
>> Thanks so much for any help!
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/34e3f514-8c55-4ecd-9835-917e76fef8a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Get request from logging for Google App Engine (flexible environment)

2016-06-24 Thread 'Nick (Cloud Platform Support)' via Google App Engine
Hey Lu,

Be sure to post the issue link here once you've created it. I'll be happy 
to help work on the feature request!

Sincerely,

Nick
Cloud Platform Community Support

On Wednesday, June 22, 2016 at 5:21:10 PM UTC-4, Lu Rocky wrote:
>
> Hi I am immigrating an app from standard environment to flexible 
> environment. But I am facing a problem, in the standard environment I have 
> built a flask server using python, and whenever I receive a HTTP get, I 
> record the request ID for the request log by 
> "os.environ.get('REQUEST_LOG_ID')". This help me to check the request log 
> in the future easily. This method is also taught on Google's document with 
> topic "How requests are handled" (
> https://cloud.google.com/appengine/docs/python/how-requests-are-handled). 
> But now in the flexible environment, I find there is no "'REQUEST_LOG_ID" 
> in the result returned by "os.environ". And I can not find any instruction 
> on how to get request id in flexible environment (the request id is still 
> exist, I can see the request id in the request log). So is there any way to 
> get the request id?
>
> Thanks so much for any help!
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/929b9259-299b-4a6c-a99a-040fe71027aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Get request from logging for Google App Engine (flexible environment)

2016-06-23 Thread 'Nick (Cloud Platform Support)' via Google App Engine
Hey Lu,

It appears that the Flex environment doesn't work the same way, and that 
os.environ["REQUEST_LOG_ID"] is not automatically populated by the runtime. 
You should open a Public Issue Tracker 
 issue to get any 
potential defect reports / feature requests regarding standard/flexible 
environment differences sorted out. We monitor that issue tracker and we'll 
be in touch shortly after you post. 

Cheers,

Nick
Cloud Platform Community Support

On Wednesday, June 22, 2016 at 5:21:10 PM UTC-4, Lu Rocky wrote:
>
> Hi I am immigrating an app from standard environment to flexible 
> environment. But I am facing a problem, in the standard environment I have 
> built a flask server using python, and whenever I receive a HTTP get, I 
> record the request ID for the request log by 
> "os.environ.get('REQUEST_LOG_ID')". This help me to check the request log 
> in the future easily. This method is also taught on Google's document with 
> topic "How requests are handled" (
> https://cloud.google.com/appengine/docs/python/how-requests-are-handled). 
> But now in the flexible environment, I find there is no "'REQUEST_LOG_ID" 
> in the result returned by "os.environ". And I can not find any instruction 
> on how to get request id in flexible environment (the request id is still 
> exist, I can see the request id in the request log). So is there any way to 
> get the request id?
>
> Thanks so much for any help!
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9765119e-c8ac-4740-94f6-b2088d721d85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.