You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by se...@apache.org on 2008/03/06 21:39:25 UTC

svn commit: r634408 - /webservices/axis2/trunk/c/util/src/log.c

Author: senaka
Date: Thu Mar  6 12:39:18 2008
New Revision: 634408

URL: http://svn.apache.org/viewvc?rev=634408&view=rev
Log:
Fixing AXIS2C-999

Modified:
    webservices/axis2/trunk/c/util/src/log.c

Modified: webservices/axis2/trunk/c/util/src/log.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/log.c?rev=634408&r1=634407&r2=634408&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/log.c (original)
+++ webservices/axis2/trunk/c/util/src/log.c Thu Mar  6 12:39:18 2008
@@ -241,8 +241,8 @@
             fprintf(stderr, "%s %s(%d) %s\n", level_str, file, line, buffer);
         }
     }
-    else if (buffer)
 #ifndef AXIS2_NO_LOG_FILE
+    else if (buffer)
         fprintf(stderr, "please check your log and buffer");
 #endif
     else
@@ -381,8 +381,8 @@
                 filename, linenumber, value);
         }
     }
-    else
 #ifndef AXIS2_NO_LOG_FILE
+    else
         fprintf(stderr, "please check your log and buffer");
 #endif
 }
@@ -424,8 +424,8 @@
                                           filename, linenumber, value);
         }
     }
-    else
 #ifndef AXIS2_NO_LOG_FILE
+    else
         fprintf(stderr, "please check your log and buffer");
 #endif
 }
@@ -466,8 +466,8 @@
                     NULL, -1, value);
         }
     }
-    else
 #ifndef AXIS2_NO_LOG_FILE
+    else
         fprintf(stderr, "please check your log and buffer");
 #endif
 }
@@ -510,8 +510,8 @@
                 AXIS2_LOG_LEVEL_WARNING, filename, linenumber, value);
         }
     }
-    else
 #ifndef AXIS2_NO_LOG_FILE
+    else
         fprintf(stderr, "please check your log and buffer");
 #endif
 }
@@ -553,8 +553,8 @@
                                           filename, linenumber, value);
         }
     }
-    else
 #ifndef AXIS2_NO_LOG_FILE
+    else
         fprintf(stderr, "please check your log and buffer");
 #endif
 
@@ -595,8 +595,8 @@
         axutil_log_impl_write_to_file(log, mutex, AXIS2_LOG_LEVEL_CRITICAL,
                                       filename, linenumber, value);
     }
-    else
 #ifndef AXIS2_NO_LOG_FILE
+    else
         fprintf(stderr, "please check your log and buffer");
 #endif
 
@@ -698,8 +698,8 @@
                                           filename, linenumber, value);
         }
     }
-    else
 #ifndef AXIS2_NO_LOG_FILE
+    else
         fprintf(stderr, "please check your log and buffer");
 #endif
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org