Skip to content

Commit b16274b

Browse files
committed
Update scripts/bazel/rabbitmq-run.sh to match the Makefile version
Previously the log level was hard coded. `RABBITMQ_LOG=info,+color RABBITMQ_LOGS=- bazel run broker` will log to the console
1 parent ae59b3c commit b16274b

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

scripts/bazel/rabbitmq-run.sh

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,7 @@ cat << EOF > ${RABBITMQ_CONFIG_FILE}
105105
106106
[
107107
{rabbit, [
108-
{loopback_users, []},
109-
{log, [{file, [{level, debug}]},
110-
{console, [{level, debug}]}]}
108+
{loopback_users, []}
111109
]},
112110
{rabbitmq_management, [
113111
]},
@@ -119,19 +117,6 @@ cat << EOF > ${RABBITMQ_CONFIG_FILE}
119117
{data_dir, "${RABBITMQ_QUORUM_DIR}"},
120118
{wal_sync_method, sync}
121119
]},
122-
{lager, [
123-
{colors, [
124-
%% https://misc.flogisoft.com/bash/tip_colors_and_formatting
125-
{debug, "\\\e[0;34m" },
126-
{info, "\\\e[1;37m" },
127-
{notice, "\\\e[1;36m" },
128-
{warning, "\\\e[1;33m" },
129-
{error, "\\\e[1;31m" },
130-
{critical, "\\\e[1;35m" },
131-
{alert, "\\\e[1;44m" },
132-
{emergency, "\\\e[1;41m" }
133-
]}
134-
]},
135120
{osiris, [
136121
{data_dir, "${RABBITMQ_STREAM_DIR}"}
137122
]}

0 commit comments

Comments
 (0)