diff flys-aft/src/main/java/de/intevation/aft/Notification.java @ 4110:06891562e633

Extracted and documented the error messages of the process. flys-aft/trunk@4054 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 16 Feb 2012 11:26:56 +0000
parents da9df3641578
children f939e1e6cfa4
line wrap: on
line diff
--- a/flys-aft/src/main/java/de/intevation/aft/Notification.java	Wed Feb 08 09:43:12 2012 +0000
+++ b/flys-aft/src/main/java/de/intevation/aft/Notification.java	Thu Feb 16 11:26:56 2012 +0000
@@ -65,7 +65,7 @@
             URLConnection ucon = url.openConnection();
 
             if (!(ucon instanceof HttpURLConnection)) {
-                log.warn("'" + url + "' is not an HTTP(S) connection.");
+                log.warn("NOTIFY: '" + url + "' is not an HTTP(S) connection.");
                 return null;
             }
 
@@ -84,7 +84,7 @@
             result = XML.parseDocument(in);
         }
         catch (IOException ioe) {
-            log.error("Sending message to '" + url + "' failed.", ioe);
+            log.error("NOTIFY: Sending message to '" + url + "' failed.", ioe);
         }
         finally {
             if (out != null) {

http://dive4elements.wald.intevation.org