Private log entries with Python App Engine (Standard)
44 views
Skip to first unread message
Anastasios Hatzis
unread,
Dec 9, 2016, 9:28:18 AM12/9/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
In Cloud Console's IAM I have noticed the role logging.privateLogViewer
According to the Stackdriver documentation, certain logs are marked as "private". Is this feature also available in app logging inside App Engine for Python (2.7) Standard environment? Maybe an optional parameter I can pass with the log message?
Adam (Cloud Platform Support)
unread,
Dec 10, 2016, 3:47:06 PM12/10/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
The 'logservice' API deals specifically with reading and writing App Engine request and application logs. You can read the documentation for details on features, but reading private non-App Engine logs such as Data Access audit logs isn't available as this is outside the scope of the service.
However, nothing is stopping you from simply using the Stackdriver Logging API from your App Engine app.