Forum Replies Created
-
AuthorPosts
-
December 8, 2022 at 2:34 pm in reply to: Faulty generation of log files after reducing the value of MaxParts #3383
Hi,
For issue 1, is it correct to assume that with the MaxSize=40 and MaxParts=6 that before you change the MaxParts to 3, you have 6 log files that already exist in the directory, and then you start doing file logging with the new MaxParts value of 3? I’m trying to understand the sequence of steps so that I can try to reproduce. And please confirm that all you changed was the MaxParts value to 3–that is, you did not change any other properties.In regards to Issue 2, you state “new log files are also generated on top of the existing ones.” Can you be more specific about what exactly you are seeing in this situation?
Also, your comment “no file should exceed the size limit set by the MaxSize whatsoever” is not valid. Since each CodeSite message is variable in size, it is possible that the last message saved to a log file part will result in the log file part being larger than the MaxSize value. The MaxSize value specifies whether or not the next CodeSite message is allowed to be added to the file. If the current log file part is less than MaxSize, then the message is saved to the log file.
We considered looking at the size of the next message to be saved, and then only save to the current log file part if the resulting size will be less than MaxSize. However, then you need to consider what happens if the next message is larger than MaxSize, which can happen with screenshots, for example. Then you end up with a log file part larger than MaxSize anyway, because you have save the message is the log file part. We did not see the benefit outweighing the added complexity.
Ray
Hi Ariagna,
The software is distributed via a download link, but once you download it onto a computer (obviously with internet access), you can copy the installer to the desired computer and run it from there. The installer does not require internet access.
Ray
December 8, 2022 at 12:39 am in reply to: Forbidden (403) error when downloading Bonus KSVC 7.0 #3380Hi Paul,
Thank you for sharing how you were able to resolve the issue with the GetIt Package Manager download.
Ray
The csmDataSet message constant is defined in the CodeSiteDBTools unit. That unit also defines the CodeSite custom formatters for sending TDataSet and TDataSetRecord values. However, as Rich mentioned, the CodeSiteDBTools unit is available in the CodeSite Studio edition and not CodeSite Express.
Ray
Very good. One little tip: if you first select the message that matches the criteria you are interested in (e.g. Thread), and then invoke the New View dialog box, the various fields will be pre-populated with the values of the selected message. Makes it much faster to select your desired criteria.
Ray
December 5, 2022 at 10:00 pm in reply to: Forbidden (403) error when downloading Bonus KSVC 7.0 #3368Hi Paul,
I am sorry to hear you are having issues with the GetIt Package Manager. Unfortunately, we have no control over that, and I would suggest that you contact Embarcadero.
Ray
Hi Ariagna,
There is no separate manual, but the CodeSite Help has a lot of information about the product. You can get to the Help file from the Help menu of any of the CodeSite Tools (e.g. CodeSite Live Viewer). You can also get to the CodeSite Help file from within the RAD Studio IDE by selecting the Tools > CodeSite > CodeSite Help menu item.
In regards to your other question about “CodeSite Studio is planned to be applied at the server level”, I’m not sure I completely understand your intention. However, I can say that each CodeSite message contains the name of the Computer from which the message originated.
Ray
Hi Mark,
Embarcadero acquired the components back in 2015. The Konopka Signature VCL Controls is available via the GetIt Package Manager within recent versions of Delphi. Startup of the RAD Studio (Delphi) IDE and select the Tools > GetIt Package Manager menu item. Then type “Konopka” into the search box and you will find the entry for KSVC. Click the Install button to install. The source code is installed during the installation.
Ray
Hi Ariagna,
In regards to #1, there are a few situations that can affect whether or not a CodeSite message makes it from your application code to the Live Viewer.
- The CodeSite logger that is used to send the message has its Enabled property set to False.
- The CodeSiteManager.Enabled property is set to False.
- If a CodeSite logger is set to use a Destination that does NOT include the Viewer, then any messages generated by that logger will NOT show up in the Live Viewer.
- The CodeSite logger is trying to use a destination that is not valid. This would manifest itself in the CodeSite Dispatcher (the icon would turn red, and there Dispatcher Log would show an error). In this case, the logger would become disabled.
- The Live Viewer could be configured to Block Incoming Messages. Check the Tools > Block Incoming Messages menu item.
- The CodeSite Dispatcher could be configured to block categories of messages. CodeSite messages that specify a Category that is blocked will not be sent to the final destination.
When using the Dispatcher to block a Category, the CodeSite logger still generates the CodeSite message and sends it to the Dispatcher. As noted above, the Dispatcher then stops the message from going further, if the message’s Category is blocked.
A better approach to control the amount of messages that your application generates is to use separate loggers and enable or disable the loggers as needed. For example, you could create a csCritical logger that is always enabled and is used for logging critical information. You could then create other loggers based on how you want to control the amount of logging. The use of Categories and Logger instances makes CodeSite quite a bit different than traditional log-level approaches.
Hope this helps,
RayHi Ariagna,
CodeSite Studio is sold as a traditional software license. It is a one-time payment, and NOT a subscription. The license is the traditional “like a book” license. You are allowed to install the logging classes (the code that you link into your programs) onto multiple machines provided you are the only one using the software at a time. If you have another developer that will be compiling/building code using the CodeSite logging classes, then a separate license should be purchased for each developer.Ray
Hi Ariagna,
Thank you for your interest in CodeSite Studio. I will do my best to answer your questions.
1. I believe what you are asking for in this question is the ability to encrypt the data that is captured with CodeSite. The current version of CodeSite does not support automatically encrypting the message data. We are investigating ways to do this in a relatively seamless manner for a future release.
2. The current version of CodeSite Studio supports sending CodeSite messages to a remote computer using TCP. Specifically, your application would specify a TCP remote destination. Then when your app generates a CodeSite message, it is sent to the CodeSite Dispatcher running locally on the machine. Then the local Dispatcher will send the message to the CodeSite Dispatcher that is running on the remote computer. The Remote Dispatcher will then typically save the CodeSite message to a log file.
3. There are several methods of controlling the amount of data that is generated/sent by CodeSite. For example, you can setup separate CodeSite loggers and specify a Category for each logger. Then you can Enable/Disable the loggers as necessary to control the amount of messages that are logged. The Viewers also provide the ability to create filtered views so that you only see the messages that you are interested in. For example, you can create a new view that only shows you messages from a specific process.I hope this answers your questions.
RayHi Chris,
Thank you for submitting the report. I have also been very frustrated with the situation. This is one of the reasons why I have been encouraging people to submit reports so that Embarcadero can see that many, many developers are dependent on these components. I will be presenting at EKON in a couple weeks and will try to connect with Embarcadero team members in attendance.
Ray
Hi Chris,
Thanks for sending the test project. I was able to reproduce the issue you are running into. The fact that you are building a 64-bit application is key to the issue. More specifically, the “Support address space layout randomization” setting, which in 11.2 is set to True by default for 64-bit applications. You can work around the issue by turning this setting to False. The setting is located in:
Project Options
Building
Delphi Compiler
Linking
Support address space layout randomizationAs for reporting issues with KSVC, Embarcadero still hasn’t added specific entries for the components. However, Marco Cantu has suggested that issues can be reported under the general VCL category. Furthermore, the subject of the issue should start with KSVC so that the issue is marked as a KSVC-related issue. For example, if you go to Quality Portal and conduct an issue search for “KSVC” you will see many other examples.
Ray
Hi Chris,
I have been unable to duplicate the error condition you are experiencing. Are you able to reproduce the issue in a test project? If so, please send the source (no executables) to support at raize.com and I’ll take a look. I’m curious if there are property settings that are resulting in the error.
I would also encourage you to file a report about this issue on Embarcadero’s Quality Portal so they are aware of the issue. Any fix will need to come from Embarcadero as they own the components now.
Ray
September 11, 2022 at 1:09 am in reply to: Error installing Konopka Sig. VCL Controls Delphi 11.2 #3213Hi,
I saw some reports on Embarcadero’s Forums regarding issues with installing KSVC in 11.2. It appears that Embarcadero has reverted to a previous build which is now installing properly in 11.2. As such, I would suggest trying to install the components again.
Ray
-
AuthorPosts