aos/network: opt in message_bridge to dynamic vlog

Change-Id: I54851467411aeb3adc44f51b13a450f94e64ca1c
Signed-off-by: James Kuszmaul <james.kuszmaul@bluerivertech.com>
diff --git a/aos/network/BUILD b/aos/network/BUILD
index 6143286..e28fd89 100644
--- a/aos/network/BUILD
+++ b/aos/network/BUILD
@@ -258,6 +258,7 @@
         "//aos:init",
         "//aos:json_to_flatbuffer",
         "//aos/events:shm_event_loop",
+        "//aos/logging:dynamic_logging",
     ],
 )
 
@@ -339,6 +340,7 @@
         "//aos:init",
         "//aos:json_to_flatbuffer",
         "//aos/events:shm_event_loop",
+        "//aos/logging:dynamic_logging",
     ],
 )
 
diff --git a/aos/network/message_bridge_client.cc b/aos/network/message_bridge_client.cc
index 301dfd9..503ce95 100644
--- a/aos/network/message_bridge_client.cc
+++ b/aos/network/message_bridge_client.cc
@@ -2,6 +2,7 @@
 
 #include "aos/events/shm_event_loop.h"
 #include "aos/init.h"
+#include "aos/logging/dynamic_logging.h"
 
 DEFINE_string(config, "aos_config.json", "Path to the config.");
 DEFINE_int32(rt_priority, -1, "If > 0, run as this RT priority");
@@ -20,6 +21,7 @@
 
   MessageBridgeClient app(&event_loop);
 
+  logging::DynamicLogging dynamic_logging(&event_loop);
   // TODO(austin): Save messages into a vector to be logged.  One file per
   // channel?  Need to sort out ordering.
   //
diff --git a/aos/network/message_bridge_server.cc b/aos/network/message_bridge_server.cc
index fc1425d..3b5d30b 100644
--- a/aos/network/message_bridge_server.cc
+++ b/aos/network/message_bridge_server.cc
@@ -1,5 +1,6 @@
 #include "aos/events/shm_event_loop.h"
 #include "aos/init.h"
+#include "aos/logging/dynamic_logging.h"
 #include "aos/network/message_bridge_server_lib.h"
 #include "gflags/gflags.h"
 #include "glog/logging.h"
@@ -21,6 +22,8 @@
 
   MessageBridgeServer app(&event_loop);
 
+  logging::DynamicLogging dynamic_logging(&event_loop);
+
   // TODO(austin): Track which messages didn't make it in time and need to be
   // logged locally and forwarded.