summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/gwt/server/Constants.java
diff options
context:
space:
mode:
authorJonatan Kronqvist <jonatan.kronqvist@itmill.com>2010-10-12 05:07:33 +0000
committerJonatan Kronqvist <jonatan.kronqvist@itmill.com>2010-10-12 05:07:33 +0000
commit7e5911687972a2cd0c316b94340810b055ddb106 (patch)
treec703593af29221d766c669dc598482965708a311 /src/com/vaadin/terminal/gwt/server/Constants.java
parent01fe9dbc7d502e91130bbdaf4d7ca138c597abd4 (diff)
downloadvaadin-framework-7e5911687972a2cd0c316b94340810b055ddb106.tar.gz
vaadin-framework-7e5911687972a2cd0c316b94340810b055ddb106.zip
This is the implementation of the server-side logging feature
- Changed some loglevels according to review - Don't log unecessary stacktraces in portlets - printStackTrace:s replaced with JUL logging - System.out and System.errs replaced with JUL logging svn changeset:15493/svn branch:6.5
Diffstat (limited to 'src/com/vaadin/terminal/gwt/server/Constants.java')
-rw-r--r--src/com/vaadin/terminal/gwt/server/Constants.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/vaadin/terminal/gwt/server/Constants.java b/src/com/vaadin/terminal/gwt/server/Constants.java
index 2d4135ebf7..b23a9c1284 100644
--- a/src/com/vaadin/terminal/gwt/server/Constants.java
+++ b/src/com/vaadin/terminal/gwt/server/Constants.java
@@ -11,19 +11,19 @@ package com.vaadin.terminal.gwt.server;
*/
public interface Constants {
- static final String NOT_PRODUCTION_MODE_INFO = ""
+ static final String NOT_PRODUCTION_MODE_INFO = "\n"
+ "=================================================================\n"
+ "Vaadin is running in DEBUG MODE.\nAdd productionMode=true to web.xml "
+ "to disable debug features.\nTo show debug window, add ?debug to "
+ "your application URL.\n"
+ "=================================================================";
- static final String WARNING_XSRF_PROTECTION_DISABLED = ""
+ static final String WARNING_XSRF_PROTECTION_DISABLED = "\n"
+ "===========================================================\n"
+ "WARNING: Cross-site request forgery protection is disabled!\n"
+ "===========================================================";
- static final String WARNING_RESOURCE_CACHING_TIME_NOT_NUMERIC = ""
+ static final String WARNING_RESOURCE_CACHING_TIME_NOT_NUMERIC = "\n"
+ "===========================================================\n"
+ "WARNING: resourceCacheTime has been set to a non integer value "
+ "in web.xml. The default of 1h will be used.\n"