[Libreoffice-bugs] [Bug 100932] Consider adding logging for command line / shell --headless usage
https://bugs.documentfoundation.org/show_bug.cgi?id=100932 Xisco Faulí changed: What|Removed |Added Resolution|--- |WONTFIX Status|UNCONFIRMED |RESOLVED --- Comment #7 from Xisco Faulí --- @Mike, thanks for your comment. Considering the time this issue has been in UNCONFIRMED status and the performance penalty it might cause, let's close it as RESOLVED WONTFIX -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 100932] Consider adding logging for command line / shell --headless usage
https://bugs.documentfoundation.org/show_bug.cgi?id=100932 --- Comment #6 from Mike Kaganski --- The logging in LO is done in places that developers consider useful during the development. At no place any of developers considered the cost of logging when added it in a place (well, I exaggerate a little, but still). So the logging might happen in places called thousands of millions times during e.g. loading of a real-life file. And having a couple of additional comparisons and a couple of indirections in a tight loop might well result in a considerable penalty. But that is just a speculation. Doers decide; so if anyone wants to give it a try, welcome to dev channel, and please feel free to try to implement the proposal (we would help answering questions, of course) - with necessary testing/profiling. If it turns out to be less problematic than anticipated - why not. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 100932] Consider adding logging for command line / shell --headless usage
https://bugs.documentfoundation.org/show_bug.cgi?id=100932 Xisco Faulí changed: What|Removed |Added CC||mikekagan...@hotmail.com, ||xiscofa...@libreoffice.org --- Comment #5 from Xisco Faulí --- @Mike, any opinion on this topic ? -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 100932] Consider adding logging for command line / shell --headless usage
https://bugs.documentfoundation.org/show_bug.cgi?id=100932 Yousuf Philips (jay) changed: What|Removed |Added Blocks||103266 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=103266 [Bug 103266] [META] Command line bugs and enhancements -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 100932] Consider adding logging for command line / shell --headless usage
https://bugs.documentfoundation.org/show_bug.cgi?id=100932 --- Comment #4 from daniel.ocon...@gmail.com --- (oh, and to be super clear: I'd be more keen on a specific build - if this is already taken care of as part of the nightlys or similar and as a relative outsider, I've just missed this entirely... that'd be handy to know!) -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 100932] Consider adding logging for command line / shell --headless usage
https://bugs.documentfoundation.org/show_bug.cgi?id=100932 --- Comment #3 from daniel.ocon...@gmail.com --- 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 Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 100932] Consider adding logging for command line / shell --headless usage
https://bugs.documentfoundation.org/show_bug.cgi?id=100932 Aron Budea changed: What|Removed |Added CC||ba...@caesar.elte.hu Severity|normal |enhancement -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 100932] Consider adding logging for command line / shell --headless usage
https://bugs.documentfoundation.org/show_bug.cgi?id=100932 --- Comment #2 from Miklos Vajna --- The big question is who will deal with the regressions caused by turning --enable-sal-log on by default. The logging is there, but when it's used, the assumption is that performance is not a problem, since in a product build they'll expand to nothing. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 100932] Consider adding logging for command line / shell --headless usage
https://bugs.documentfoundation.org/show_bug.cgi?id=100932 daniel.ocon...@gmail.com changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=37 ||531 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 100932] Consider adding logging for command line / shell --headless usage
https://bugs.documentfoundation.org/show_bug.cgi?id=100932 --- Comment #1 from daniel.ocon...@gmail.com --- Somewhat similar is Bug #42982 ; which highlights a similar problem in a different area. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs