Skip to content

Commit 3415324

Browse files
authored
Add logging properties file (#855)
1. logging.properties 2. get rid of old properties from appengine-web.xml
1 parent 74e4e2c commit 3415324

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

appengine-java8/gaeinfo/src/main/webapp/WEB-INF/appengine-web.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@
1818
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
1919
<threadsafe>true</threadsafe>
2020
<ssl-enabled>true</ssl-enabled>
21+
<service>gaeinfo</service>
2122
<runtime>java8</runtime>
22-
23+
<system-properties>
24+
<property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
25+
</system-properties>
2326
</appengine-web-app>
2427
<!-- [END config] -->
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# A default java.util.logging configuration.
2+
# (All App Engine logging is through java.util.logging by default).
3+
#
4+
# To use this configuration, copy it into your application's WEB-INF
5+
# folder and add the following to your appengine-web.xml:
6+
#
7+
# <system-properties>
8+
# <property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
9+
# </system-properties>
10+
#
11+
12+
# Set the default logging level for all loggers to WARNING
13+
.level = WARNING

appengine/helloworld-new-plugins/src/main/webapp/WEB-INF/appengine-web.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
-->
1414
<!-- [START config] -->
1515
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
16-
<application>your-project-id</application>
17-
<version>1</version>
1816
<threadsafe>true</threadsafe>
1917
</appengine-web-app>
2018
<!-- [END config] -->

0 commit comments

Comments
 (0)