Make logger and timesamp_logger config lists
We want to log messages on both the roboRIO, and on the laptop/logger
pi. This means that we want lists of loggers instead of a single
logger.
We are lucky and there are no known log files with loggers in them which
we care to preserve. This lets us reuse the field without worying about
compatability.
Change-Id: I452994fbca78909d6320da3d02ad51fe45a0354b
diff --git a/aos/configuration_test.cc b/aos/configuration_test.cc
index f069277..0be7a46 100644
--- a/aos/configuration_test.cc
+++ b/aos/configuration_test.cc
@@ -354,7 +354,7 @@
"type": "aos.examples.Ping",
"source_node": "bar",
"logger": "REMOTE_LOGGER",
- "logger_node": "baz",
+ "logger_nodes": ["baz"],
"destination_nodes": [
{
"name": "baz"
@@ -370,7 +370,7 @@
"type": "aos.examples.Ping",
"source_node": "bar",
"logger": "REMOTE_LOGGER",
- "logger_node": "foo",
+ "logger_nodes": ["foo"],
"destination_nodes": [
{
"name": "baz"
@@ -386,7 +386,7 @@
"type": "aos.examples.Ping",
"source_node": "bar",
"logger": "LOCAL_AND_REMOTE_LOGGER",
- "logger_node": "baz",
+ "logger_nodes": ["baz"],
"destination_nodes": [
{
"name": "baz"
@@ -462,7 +462,7 @@
"type": "aos.examples.Ping",
"source_node": "bar",
"logger": "REMOTE_LOGGER",
- "logger_node": "baz",
+ "logger_nodes": ["baz"],
"destination_nodes": [
{
"name": "baz"
@@ -495,7 +495,7 @@
{
"name": "baz",
"timestamp_logger": "REMOTE_LOGGER",
- "timestamp_logger_node": "bar"
+ "timestamp_logger_nodes": ["bar"]
}
]
})channel",
@@ -508,12 +508,12 @@
"type": "aos.examples.Ping",
"source_node": "bar",
"logger": "REMOTE_LOGGER",
- "logger_node": "foo",
+ "logger_nodes": ["foo"],
"destination_nodes": [
{
"name": "baz",
"timestamp_logger": "REMOTE_LOGGER",
- "timestamp_logger_node": "foo"
+ "timestamp_logger_nodes": ["foo"]
}
]
})channel",
@@ -529,7 +529,7 @@
{
"name": "baz",
"timestamp_logger": "LOCAL_AND_REMOTE_LOGGER",
- "timestamp_logger_node": "bar"
+ "timestamp_logger_nodes": ["bar"]
}
]
})channel",