Extra MQTT broker starting

For my mqtt.cfg of:
[08:20:54] openhabian@openHABianPi:/usr/lib$ cat /etc/openhab2/services/mqtt.cfg
#
# Define your MQTT broker connections here for use in the MQTT Binding or MQTT
# Persistence bundles. Replace with an ID you choose.
#

#openhab.url=tcp://localhost:1883

# Optional. Client id (max 23 chars) to use when connecting to the broker.
# If not provided a default one is generated.
#openhab.clientId=melkor

# URL to the MQTT broker, e.g. tcp://localhost:1883 or ssl://localhost:8883
frodo.url=tcp://mqtt.andc.nz:1883

# Optional. Client id (max 23 chars) to use when connecting to the broker.
# If not provided a default one is generated.
frodo.clientId=openhabian

Why am I seeing in the logs:

2018-05-02 08:19:55.225 [INFO ] [t.mqtt.internal.MqttBrokerConnection] - Starting MQTT broker connection ‘openhab’

Which errors, then it starts the named one.

2018-05-02 08:20:01.974 [INFO ] [t.mqtt.internal.MqttBrokerConnection] - Starting MQTT broker connection ‘frodo’

Is this information somewhere else other than the mqtt.cfg? I’ve seen this happen on windows, ubuntu and openhabian (this case). Yes I’m copying the configs around the 3.

But is there some hardcoded mqtt broker name? and should I just have the openhab named one? Since I do just have one mqtt server.

There is a known bug when removing parameters from a cfg file.

  1. Stop OH
  2. Delete /var/lib/openhab2/config/org/openhab/mqtt.config (%OH_HOME%\userdata\config\openhab\mqtt.config on manual installs
  3. Restart OH

Ta, will give that a go.