Skip to content

Commit f49bb00

Browse files
committed
Logging: Fix Cuttlefish schema mappings
I abused copy-pasting apparently: some Cuttlefish variables do not match the application environment variables they are mapped to.
1 parent 3d1db4b commit f49bb00

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

deps/rabbit/priv/schema/rabbit.schema

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,7 +1244,7 @@ end}.
12441244
{default, lc},
12451245
{datatype, {enum, [lc, uc, lc3, uc3, lc4, uc4]}}
12461246
]}.
1247-
{mapping, "log.console.formatter.single_line", "rabbit.log.file.formatter", [
1247+
{mapping, "log.console.formatter.single_line", "rabbit.log.console.formatter", [
12481248
{default, off},
12491249
{datatype, flag}
12501250
]}.
@@ -1283,7 +1283,7 @@ end}.
12831283
{default, lc},
12841284
{datatype, {enum, [lc, uc, lc3, uc3, lc4, uc4]}}
12851285
]}.
1286-
{mapping, "log.exchange.formatter.single_line", "rabbit.log.file.formatter", [
1286+
{mapping, "log.exchange.formatter.single_line", "rabbit.log.exchange.formatter", [
12871287
{default, off},
12881288
{datatype, flag}
12891289
]}.
@@ -1338,7 +1338,7 @@ end}.
13381338
{default, lc},
13391339
{datatype, {enum, [lc, uc, lc3, uc3, lc4, uc4]}}
13401340
]}.
1341-
{mapping, "log.syslog.formatter.single_line", "rabbit.log.file.formatter", [
1341+
{mapping, "log.syslog.formatter.single_line", "rabbit.log.syslog.formatter", [
13421342
{default, off},
13431343
{datatype, flag}
13441344
]}.
@@ -1568,7 +1568,7 @@ end}.
15681568
{default, plaintext},
15691569
{datatype, {enum, [plaintext, json]}}
15701570
]}.
1571-
{mapping, "log.file.formatter.time_format", "rabbit.log.console.formatter", [
1571+
{mapping, "log.file.formatter.time_format", "rabbit.log.file.formatter", [
15721572
{default, rfc3339_space},
15731573
{datatype, [{enum, [rfc3339_space, rfc3339_T, epoch_usecs, epoch_secs, lager_default]}, string]}
15741574
]}.

0 commit comments

Comments
 (0)