Author: dennisl
Date: Wed Jul 26 15:56:28 2006
New Revision: 425898

URL: http://svn.apache.org/viewvc?rev=425898&view=rev
Log:
o Improve logging.

Modified:
    
maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/JiraHelper.java

Modified: 
maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/JiraHelper.java
URL: 
http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/JiraHelper.java?rev=425898&r1=425897&r2=425898&view=diff
==============================================================================
--- 
maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/JiraHelper.java
 (original)
+++ 
maven/sandbox/plugins/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/JiraHelper.java
 Wed Jul 26 15:56:28 2006
@@ -45,8 +45,7 @@
     {
         String jiraId = null;
         GetMethod gm = new GetMethod( issueManagementUrl );
-        log.info( "JIRA URL " + issueManagementUrl + " doesn't include a pid, 
trying to get it" );
-
+    
         String projectPage;
         try
         {
@@ -58,11 +57,11 @@
         {
             if ( log.isDebugEnabled() )
             {
-                log.error( "Unable to reach JIRA project page:", e );
+                log.error( "Unable to reach the JIRA project page:", e );
             }
             else
             {
-                log.error( "Unable to reach JIRA project page. Cause is: " + 
e.getLocalizedMessage() );
+                log.error( "Unable to reach the JIRA project page. Cause is: " 
+ e.getLocalizedMessage() );
             }
             return null;
         }
@@ -71,7 +70,7 @@
 
         if ( pidIndex == -1 )
         {
-            log.error( "Unable to get JIRA pid using the url " + 
issueManagementUrl );
+            log.error( "Unable to extract a JIRA pid from the page at the url 
" + issueManagementUrl );
         }
         else
         {


Reply via email to