0

I have a module in app engine configured like this:

application: app_name_goes_here
module: static-backend
version: uno
runtime: python27
api_version: 1
threadsafe: true

instance_class: B2

basic_scaling:
  max_instances: 10
  idle_timeout: 5m

env_variables:
   GAE_USE_SOCKETS_HTTPLIB : 'anyvalue'

builtins:
- remote_api: on
- appstats: off

inbound_services:
- channel_presence

handlers:

- url: /_ah/channel/connected/
  script: ChannelApi.app

- url: /_ah/channel/disconnected/
  script: ChannelApi.app

- url: /_ah/start
  script: ModuleStartup.app

- url: /.*
  script: main.app

libraries:
- name: webapp2
  version: latest
- name: markupsafe
  version: "0.15"
- name: setuptools
  version: "0.6c11"
- name: jinja2
  version: latest
- name: lxml
  version: '2.3'
- name: django
  version: "1.5"
- name: ssl
  version: latest
- name: pycrypto
  version: latest
- name: PIL
  version: latest
- name: MySQLdb
  version: latest

skip_files:
- ([^\s]+(\.(?i)(less))$)

When looking at the logs I am seeing this:

enter image description here

The same logging is working fine inside the main app that isn't a backend module. I am logging using by defining my logger as log = logging.getLogger(name) and using log.info("Hello World!"). Thanks for the help!

Harshal Patil
  • 6,284
  • 8
  • 37
  • 55
Shaun
  • 1,523
  • 2
  • 15
  • 31

1 Answers1

0

Looks like a log viewer problem (or some not so intuitive feature?), happening if you select "All logs" (or "activity", showing in some cases) in the 2nd dropdown list above the logs table.

Logs show OK (i.e. the usual way) if you select "request_log" instead:

enter image description here

From the viewer interface description it appears the dropdown is called "Log Selector" and from this description it appears it is Compute Engine related and shouldn't show up on the App Engine logs viewer :)

Dan Cornilescu
  • 37,297
  • 11
  • 54
  • 89