summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bakken <lbakken@pivotal.io>2018-08-02 15:07:57 -0700
committerLuke Bakken <lbakken@pivotal.io>2018-08-02 15:07:57 -0700
commit033339aa2044b8b21534ece3e8b4a4d8cbd0ef7c (patch)
tree0bcf1e67a1aa72937152d79f194412287213a92e
parenta81883223674dcf6d69dba2c4580a5600ef61ac2 (diff)
downloadrabbitmq-server-git-033339aa2044b8b21534ece3e8b4a4d8cbd0ef7c.tar.gz
Remove requirement that ip or host be set, since the default is 127.0.0.1
-rw-r--r--priv/schema/rabbit.schema20
1 files changed, 0 insertions, 20 deletions
diff --git a/priv/schema/rabbit.schema b/priv/schema/rabbit.schema
index c5e38dddf8..a7eaed2654 100644
--- a/priv/schema/rabbit.schema
+++ b/priv/schema/rabbit.schema
@@ -1068,26 +1068,6 @@ end}.
{datatype, {enum, [true, false]}}
]}.
-{translation, "rabbit.log.syslog.enabled",
-fun(Conf) ->
- case cuttlefish:conf_get("log.syslog", Conf) of
- true ->
- case cuttlefish:conf_get("log.syslog.ip", Conf, undefined) of
- undefined ->
- case cuttlefish:conf_get("log.syslog.host", Conf, undefined) of
- undefined ->
- cuttlefish:invalid("Either log.syslog.ip or log.syslog.host must be set");
- _Host ->
- true
- end;
- _IpAddr ->
- true
- end;
- _ ->
- []
- end
-end}.
-
{mapping, "log.syslog.level", "rabbit.log.syslog.level", [
{datatype, {enum, [debug, info, notice, warning, error, critical, alert, emergency, none]}}
]}.