Am Donnerstag, 8. November 2018, 10:09:23 CET schrieb Luis Martin Gil:
Is there any strong reason to set LC_LOG_MSG_MAX_SIZE
to 16384 in the
log_custom module? Any thoughts / undesired effects if changed to 32768 or
higher?
```
$ grep -R 'define LC_LOG_MSG_MAX_SIZE' *
src/modules/log_custom/log_custom_mod.c:#define LC_LOG_MSG_MAX_SIZE 16384
src/modules/log_systemd/log_systemd_mod.c:#define LC_LOG_MSG_MAX_SIZE 16384
Hello Luis,
the module will need (insignificant) more memory if you increase it, otherwise
there should be no effects.
Do you see any errors related to the default setting? This #define is the log
buffer for printing the log string before sending it to somewhere else via
UDP.
Best regards,
Henning
--
Henning Westerholt -
https://skalatan.de/blog/
Kamailio services -
https://skalatan.de/services
Kamailio security assessment -
https://skalatan.de/de/assessment