--- uClibc/libc/misc/syslog/syslog.c	2005-08-17 15:54:37.000000000 -0700
+++ uClibc_ooma/libc/misc/syslog/syslog.c	2007-10-18 02:36:33.000000000 -0700
@@ -158,6 +158,7 @@ vsyslog( int pri, const char *fmt, va_li
 
 	struct sigaction action, oldaction;
 	int sigpipe;
+	char hostname[20];
 	memset (&action, 0, sizeof (action));
 	action.sa_handler = sigpipe_handler;
 	sigemptyset (&action.sa_mask);
@@ -182,7 +183,10 @@ vsyslog( int pri, const char *fmt, va_li
 	 * safe to test only LogTag and use normal sprintf everywhere else.
 	 */
 	(void)time(&now);
-	stdp = p = tbuf + sprintf(tbuf, "<%d>%.15s ", pri, ctime(&now) + 4);
+	if(gethostname(hostname, sizeof(hostname))) {
+		hostname[0] = 0;
+	}
+	stdp = p = tbuf + sprintf(tbuf, "<%d>%.15s %s ", pri, asctime(gmtime(&now)) + 4, hostname);
 	if (LogTag) {
 		if (strlen(LogTag) < sizeof(tbuf) - 64)
 			p += sprintf(p, "%s", LogTag);
