Extracting logs and possibly extending logs duration for mosquito broker

Hi boys and girls, I’m having a strange issue where mqtt fail on specific types of devices. Z2M works OK in sense there are no faults in logs and I can control everything from Z2M interface, but devices become unavailable on HASS. Before I come begging for help, I would like to extract logs from it and possibly extend loggin interval.
Thanks in advance.

If using the Mosquitto add-on, settings → system → logs → button in the up right corner.

yes, I’ve tried that one but log period (or size) is dramatically short. Is there a way of getting longer logs, increasing size / duration ?