# Log window disappear after starting mosquitto broker

**URL:** <https://forum.cedalo.com/t/log-window-disappear-after-starting-mosquitto-broker/887>\
**Category:** Broker management and monitoring\
**Created:** [October 13, 2023, 1:00pm UTC](https://forum.cedalo.com/t/log-window-disappear-after-starting-mosquitto-broker/887 "2023-10-13T13:00:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nataut](https://avatars.discourse-cdn.com/v4/letter/n/8baadc/32.png) [@nataut](https://forum.cedalo.com/u/nataut)\
**Post date:** [October 13, 2023, 1:00pm UTC](https://forum.cedalo.com/t/log-window-disappear-after-starting-mosquitto-broker/887/1 "2023-10-13T13:00:24Z")

</div>

Hi all.  
I’m working with mosquitto 2.0.18 installed on Windows 11

To start the mosquitto broker I use a batch file with the following command

```auto
@echo off
start /d "<mosquitto_installation_folder_path>" mosquitto -v -c mosquitto.conf

```

After launching the previous command, mosquitto broker works correctly but does not appear any log window where I can see the mqtt transactions. Can someone tell me why?

Many thanks  
Regards

---

<div class="post-metadata">

**Author:** ![roger.light](https://avatars.discourse-cdn.com/v4/letter/r/838e76/32.png) [@roger.light](https://forum.cedalo.com/u/roger.light)\
**Post date:** [October 13, 2023, 4:27pm UTC](https://forum.cedalo.com/t/log-window-disappear-after-starting-mosquitto-broker/887/2 "2023-10-13T16:27:49Z")

</div>

Hi,

You may need to configure the logging in the config file if you have not done so. Try adding

```auto
log_dest stdout

```

I don’t use Windows much these days so I don’t know if simply having the logging present will cause a window to be opened.

Cheers,

Roger

---

<div class="post-metadata">

**Author:** ![nataut](https://avatars.discourse-cdn.com/v4/letter/n/8baadc/32.png) [@nataut](https://forum.cedalo.com/u/nataut)\
**Post date:** [October 16, 2023, 8:19am UTC](https://forum.cedalo.com/t/log-window-disappear-after-starting-mosquitto-broker/887/3 "2023-10-16T08:19:32Z")

</div>

Hi Roger,  
I tried your suggestion. After the batch file is ran, the mosquitto log window appears but after 2 seconds it disappears.

Thanks  
Regards
