Hello,

with GAE runtime php72, logs, that are written using syslog() do not longer 
appear in the standard Logging overview and are not marked with icons and 
colors by their severity.

You need to select additional logs in the second dropdown to see what you 
logged.

Logs sent by PHP itself or by error_log() appear under "stderr" 
and for custom logs sent by syslog() you need to select "/dev/log" and the 
error messages are just appearing in JSON format.

In php55 each notice/warning/error could be identified directly by looking 
on the Logging page or filtering by log level. 
Now identifying of errors is much harder.

Is there a better way to log custom logs or to visualize the logs (without 
Stackdriver)?
Are there plans to redirect logs with their severity to the "request_log" 
list?

For instance:
<? syslog(LOG_DEBUG, "Test") ?>
leads to
{"severity":7,"facility":1,"timestamp":"2018-10-26T13:14:54Z","hostname":"","app_name":"php-fpm","procid":"","msgid":"","structured_data":"","message":"pool
 
app: Test"}


Yours Christian

-- 
----------------------------------------------------------------------------------------------

Rechtlicher Hinweis nach §35a Abs. 1 S. 1 im GmbHG. 


*Wabion GmbH*

Geschäftsfuehrer: Michael Walther, Volkmar Binder
GmbH Sitz: Esslingen, HRB 
354492 (Amtsgericht Stuttgart)


This e-mail (and/or attachments) is 
confidential and may be privileged. Use or disclosure of it by anyone other 
than a designated addressee is unauthorized.
If you are not an intended 
recipient, please delete this e-mail from the computer on which you 
received it. We thank you for notifying us immediately. 

----------------------------------------------------------------------------------------------

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/0a8a9be5-8e16-4c11-a80a-3c4d8b6e3509%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine] GAE... Christian Wiedemann

Reply via email to