Why are you using logging.properties if the App Engine automatically registers stdout & stderr for INFO & WARNING?

According to the documentation for the Google App Engine for Java:

The App Engine Java SDK includes the logging.properties template file in the appengine-java-sdk / config / user / directory. To use it, copy the file to your WEB-INF / classes directory (or elsewhere in the WAR), then the system property java.util.logging.config.file to "WEB-INF / classes / logging.properties" (or which whatever path you choose, relative to the root of the application). You can set system properties in appengine-web.xml as follows:

<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
    ...

    <system-properties>
        <property name="java.util.logging.config.file" value="WEB-INF/classes/logging.properties" />
    </system-properties>

</appengine-web-app>

Google Eclipse new WEB-INF/classes/ . java.util.logging, .

If your write to standard out or standard error, that will automatically get logged as INFO or WARNING.

, logging.properties?

?

+5
1

, , DEBUG.

, , .

: , ( FINE FINEST). , DEBUG. ( ) INFO, WARNING SEVERE.

, , .

java:

+6

All Articles