我要退房GAE管理的虛擬機使用的app.yaml,這裏描述https://cloud.google.com/appengine/docs/managed-vms/java/configuring-your-app-with-app-yamlGAE app.yaml:如何設置包含句點的env變量?
當我做
env_variables:
java.util.logging.config.file: 'WEB-INF/logging.properties'
我得到異常
google.appengine.api.yaml_errors.EventError: Value 'java.util.logging.config.file' for key in EnvironmentVariables does not match expression '^(?:[a-zA-Z_][a-zA-Z0-9_]*)$'
有什麼辦法來指定自定義logging.properties
通過app.yaml?
我還沒有找到答案,但gcloud-maven插件源代碼非常有用:https://github.com/GoogleCloudPlatform/gcloud-maven-plugin/tree/master/src/main/java/com/google/appengine/gcloudapp 來自gcloud團隊的聲望! –