commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r805442 - /commons/sandbox/runtime/trunk/src/main/native/os/win32/syslog.c
Date Tue, 18 Aug 2009 15:05:03 GMT
Author: mturk
Date: Tue Aug 18 15:05:02 2009
New Revision: 805442

URL: http://svn.apache.org/viewvc?rev=805442&view=rev
Log:
Fix formating

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/win32/syslog.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/syslog.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/syslog.c?rev=805442&r1=805441&r2=805442&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/syslog.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/syslog.c Tue Aug 18 15:05:02 2009
@@ -48,27 +48,27 @@
         case ACR_LOG_EMERG:
             id = LOG_MSG_EMERG;
             il = EVENTLOG_ERROR_TYPE;
-            et = L"[EMERG]    :";
+            et = L"[EMERG]  : ";
         break;
         case ACR_LOG_ERROR:
             id = LOG_MSG_ERROR;
             il = EVENTLOG_ERROR_TYPE;
-            et = L"[ERROR]    :";
+            et = L"[ERROR]  : ";
         break;
         case ACR_LOG_NOTICE:
             id = LOG_MSG_NOTICE;
             il = EVENTLOG_WARNING_TYPE;
-            et = L"[NOTICE]   :";
+            et = L"[NOTICE] : ";
         break;
         case ACR_LOG_WARN:
             id = LOG_MSG_WARN;
             il = EVENTLOG_WARNING_TYPE;
-            et = L"[WARNING] :";
+            et = L"[WARN]   : ";
         break;
         case ACR_LOG_INFO:
             id = LOG_MSG_INFO;
             il = EVENTLOG_INFORMATION_TYPE;
-            et = L"[INFO]    :";
+            et = L"[INFO]   : ";
             es = stdout;
         break;
     }
@@ -101,7 +101,7 @@
     else {
         fprintf(es, "%S%S\n", et, messages[0]);
         if (messages[1])
-            fprintf(es, "           %S\n", messages[1]);
+            fprintf(es, "         %S\n", messages[1]);
         fflush(es);
     }
 }



Mime
View raw message