This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Logger" improvements
#1
As of r1727, some changes will be introduced for the "Logger" tool.
The ability of logging applications' activity is one of the most important features in JPCSP, especially when used by homebrew develeopers.

In r1727, I've added a new menu under Debug > Tools called Logger. The "Show Logger" option is just the "Toggle console" button with a checkbox, but the big addition is the "Customize" option. This opens a new window called "Customize Logger" where any user will be able to change logging behaviour without having to learn how to work with the .xml files used by log4j (which we use in JPCSP).

Under the "General" tab there're the "Logger" related options that were under the "Configuration" menu and under the "Settings" tab, I've added a small log settings file generator.

Use the options under this tab to change the way the log output file is generated (text version, html version, both or none), the name of the log output file and the settings file path (in case you wish to load a different file from another place). Then, press the "Generate new settings file" and you'll see the text pane change. A new file will be generated, but these settings will go back to their original values, so you can easily reset the file to it's original form.

So, this is only the first installment of "Logger" improvements, and I plan to add features like per module logging, thread monitoring and more.
Please post any issues, opinions or ideas for improvements as a reply to this post. Smile
Reply


Messages In This Thread
"Logger" improvements - by Hykem - 08-07-2010, 08:51 PM
RE: "Logger" improvements - by Rick - 08-07-2010, 08:58 PM
RE: "Logger" improvements - by Hykem - 08-08-2010, 02:16 PM
RE: "Logger" improvements - by Hykem - 08-08-2010, 08:24 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)