So now that I have the appserver running correctly I'm trying to see what my server is doing by adding logs. Problem is, I can't find them anywhere. Here's what I see in my terminal:
$ dev_appserver.py --custom_entrypoint "dart bin/server.dart {port}" --log_level=debug app.yaml
INFO 2016-03-18 16:22:18,994 application_configuration.py:431] No version specified. Generated version id: 20160318t162218
INFO 2016-03-18 16:22:18,995 devappserver2.py:769] Skipping SDK update check.
INFO 2016-03-18 16:22:19,039 dispatcher.py:197] Starting module "default" running at:
http://localhost:8080INFO 2016-03-18 16:22:20,054 module.py:1729] New instance for module "default" serving on:
INFO 2016-03-18 16:22:20,094 module.py:787] default: "GET /_ah/start HTTP/1.1" 200 2
INFO 2016-03-18 16:22:26,009 module.py:787] default: "POST /trials HTTP/1.1" 200 31
INFO 2016-03-18 16:26:39,299 module.py:1768] [default] Detected file changes:
/Users/pylaligand/Work/destiny/destiny-tools/slack-bot/bin/server.dart
INFO 2016-03-18 16:26:39,310 module.py:1893] Waiting for instances to restart
INFO 2016-03-18 16:26:40,320 module.py:1729] New instance for module "default" serving on:
INFO 2016-03-18 16:26:40,363 module.py:787] default: "GET /_ah/start HTTP/1.1" 200 2
INFO 2016-03-18 16:26:40,374 module.py:1899] Instances restarted
INFO 2016-03-18 16:26:40,407 module.py:1768] [default] Detected file changes:
/Users/pylaligand/Work/destiny/destiny-tools/slack-bot/bin/server.dart
INFO 2016-03-18 16:26:40,417 module.py:1893] Waiting for instances to restart
INFO 2016-03-18 16:26:41,430 module.py:1729] New instance for module "default" serving on:
INFO 2016-03-18 16:26:41,469 module.py:787] default: "GET /_ah/start HTTP/1.1" 200 2
INFO 2016-03-18 16:26:41,473 module.py:1899] Instances restarted
INFO 2016-03-18 16:26:43,838 module.py:787] default: "POST /trials HTTP/1.1" 200 31
All of these seem to be dev_appserver's logs, none are my app's.
I tried to use the --logs_path flag to redirect the logs database to a file, but only the RequestLogs table seems to be populated as the AppLogs table remains empty.
Looking at past post it used to be that |gcloud preview app run|'s verbosity needed to be set to debug for logs to show up. Is there an equivalent trick with dev_appserver?