[mythtv] LOG line length limit

Klaas de Waal klaas.de.waal at gmail.com
Mon Mar 23 17:45:37 UTC 2020


Hi,

There is a hard-coded line length limit of about 2kbytes for the LOG
messages.
This is most likely the reason why a lot of the output of the mythtv-setup
channel scanner, notably the channel lists, are written directly to stdout
instead of via the LOG system.
The disadvantage of this is that the output sometimes becomes a mess and
that the stdout messages come before the LOG messages that were created
earlier.

To fix this I would like to write all output with LOG messages but with
this I have hit the length limit.

Are there good reasons for the line limit size or is it feasible to replace
the fixed message buffer of 2kbyte with something dynamically allocated?

Thanks,
Klaas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20200323/0f880e53/attachment.htm>


More information about the mythtv-dev mailing list