Re: How to logging in AOO
Thank you for links, Joost They are useful, if you want to parse the logs. But i need to create the log files and then parse them. I still don't understand how to do it, Drew. 3 апреля 2012 г. 18:38 пользователь Joost Andrae joost.and...@gmx.de написал: Hi, probably these links are of help: http://wiki.services.openoffice.org/wiki/RTLLogFileAnalysis http://www.openoffice.org/tools/profiling/profiling-howto.html http://wiki.services.openoffice.org/wiki/RTLLog2ODF Am 03.04.2012 15:57, schrieb Очиров Николай: Hi Drew Thank you for your help. I do not connect to any database. I just want to log all function calls during startup AOO. I corrected a bit the source code - and AOO falls, cause I can't understand why I want to see the order of function calls, and find which function error. Analyzing the sources I couldn't find a reason, but I noticed that everywhere there are macros in the code - RTL_LOGFILE_TRACE () or RTL_LOGFILE_CONTEXT () and etc. and it seems to me that they can use to track where the error occurs. Is this possible? Kind regards, Joost
Re: How to logging in AOO
Hi Drew Thank you for your help. I do not connect to any database. I just want to log all function calls during startup AOO. I corrected a bit the source code - and AOO falls, cause I can't understand why I want to see the order of function calls, and find which function error. Analyzing the sources I couldn't find a reason, but I noticed that everywhere there are macros in the code - RTL_LOGFILE_TRACE () or RTL_LOGFILE_CONTEXT () and etc. and it seems to me that they can use to track where the error occurs. Is this possible? 03.04.2012, 00:19, drew jensen drewjensen.in...@gmail.com: On Mon, 2012-04-02 at 23:57 +0400, Ochirov Nikolay wrote: Hello, I want to enable logging in AOO3.4. The site has only this article http://wiki.services.openoffice.org/wiki/Category:Logging, but from it i don't understand anything. Is there any configuration file for the logging system, or need to insert some code into the source? What do i do? Hope for your help! Hi Ochirov, Well, there is no GUI for the particular settings - all of the functionality is delivered in the application code, so all you need do is run a script to active/deactivate/configure the logging mechanism. The page you reference, and one of the links on it, give you example scripts for at least Basic and there might be JS also, but not sure if that ever made it to the wiki. I have to admit that I've not tried the JDBC logging with the 3.4 code, used to make use of the feature quite a bit however. First - if you are unfamiliar with how to use the example Basic script from the page, I would recommend that you look over the Basic Users Guide - you will find it at: http://wiki.services.openoffice.org/wiki/Documentation/BASIC_Guide Then I think it's a good reminder to give that functionality a test - though the QA folks are likely doing so with the automated tests already (though again I'm not sure on that).. Anyway - If you need more help with this, let me know and I'll try to do so..also, I'll put it to the test this afternoon, and post back how that went.. BTW - what type of database will you be connecting to (mySQL, Embedded ODB, etc) ? //drew
Re: How to logging in AOO
Hi, probably these links are of help: http://wiki.services.openoffice.org/wiki/RTLLogFileAnalysis http://www.openoffice.org/tools/profiling/profiling-howto.html http://wiki.services.openoffice.org/wiki/RTLLog2ODF Am 03.04.2012 15:57, schrieb Очиров Николай: Hi Drew Thank you for your help. I do not connect to any database. I just want to log all function calls during startup AOO. I corrected a bit the source code - and AOO falls, cause I can't understand why I want to see the order of function calls, and find which function error. Analyzing the sources I couldn't find a reason, but I noticed that everywhere there are macros in the code - RTL_LOGFILE_TRACE () or RTL_LOGFILE_CONTEXT () and etc. and it seems to me that they can use to track where the error occurs. Is this possible? Kind regards, Joost
How to logging in AOO
Hello, I want to enable logging in AOO3.4. The site has only this article http://wiki.services.openoffice.org/wiki/Category:Logging, but from it i don't understand anything. Is there any configuration file for the logging system, or need to insert some code into the source? What do i do? Hope for your help!
Re: How to logging in AOO
On Mon, 2012-04-02 at 23:57 +0400, Ochirov Nikolay wrote: Hello, I want to enable logging in AOO3.4. The site has only this article http://wiki.services.openoffice.org/wiki/Category:Logging, but from it i don't understand anything. Is there any configuration file for the logging system, or need to insert some code into the source? What do i do? Hope for your help! Hi Ochirov, Well, there is no GUI for the particular settings - all of the functionality is delivered in the application code, so all you need do is run a script to active/deactivate/configure the logging mechanism. The page you reference, and one of the links on it, give you example scripts for at least Basic and there might be JS also, but not sure if that ever made it to the wiki. I have to admit that I've not tried the JDBC logging with the 3.4 code, used to make use of the feature quite a bit however. First - if you are unfamiliar with how to use the example Basic script from the page, I would recommend that you look over the Basic Users Guide - you will find it at: http://wiki.services.openoffice.org/wiki/Documentation/BASIC_Guide Then I think it's a good reminder to give that functionality a test - though the QA folks are likely doing so with the automated tests already (though again I'm not sure on that).. Anyway - If you need more help with this, let me know and I'll try to do so..also, I'll put it to the test this afternoon, and post back how that went.. BTW - what type of database will you be connecting to (mySQL, Embedded ODB, etc) ? //drew