https://bugs.documentfoundation.org/show_bug.cgi?id=100932
--- Comment #3 from [email protected] ---
So, the way I had imagined it is the various logging functions simply check log
level/similar.
While not a null operation, doing
# Start up
log_level = NONE
if params["--headless"] && params["--debug=info"]
log_level = INFO
# On logging
def log(msg)
if log_level == NONE
return
fprintf (stderr, msg)
Doesn't seem like on the face of it that you'd generate huge amounts of
unnecessary IO or similar without user buy-in.
If there's a lot of stuff emitted at the wrong log level (ie: more suited to
proper DEBUG level logging instead of INFO), though it may produce a bit more
memory consumption the implementation would be at the same time providing a
wider audience the tools to find this stuff out.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs