Grow LOG_MESSAGE_LEN because we ran out of space

Change-Id: I214b88bbf04853f101e48b81fca7a9f764d53211
diff --git a/aos/logging/implementations.cc b/aos/logging/implementations.cc
index efeb704..78b6724 100644
--- a/aos/logging/implementations.cc
+++ b/aos/logging/implementations.cc
@@ -112,8 +112,10 @@
   FillInMessageBase(level, message);
 
   if (message_string.size() + size > sizeof(message->structure.serialized)) {
-    LOG(FATAL, "serialized struct %s (size %zd) and message %s too big\n",
-        type->name.c_str(), size, message_string.c_str());
+    LOG(FATAL,
+        "serialized struct %s (size %zd + %zd > %zd) and message %s too big\n",
+        type->name.c_str(), message_string.size(), size,
+        sizeof(message->structure.serialized), message_string.c_str());
   }
   message->structure.string_length = message_string.size();
   memcpy(message->structure.serialized, message_string.data(),
diff --git a/aos/logging/sizes.h b/aos/logging/sizes.h
index b624a61..d7cfd4e 100644
--- a/aos/logging/sizes.h
+++ b/aos/logging/sizes.h
@@ -3,7 +3,7 @@
 
 // This file exists so C code and context.h can both get at these constants...
 
-#define LOG_MESSAGE_LEN 500
+#define LOG_MESSAGE_LEN 512
 #define LOG_MESSAGE_NAME_LEN 100
 
 #endif  // AOS_LOGGING_SIZES_H_