- This topic has 2 replies, 3 voices, and was last updated 2021-03-12 at 4:08 am by .
Viewing 2 reply threads
Viewing 2 reply threads
- You must be logged in to reply to this topic.
Tagged: CSDispatcher state inspection
Hi Ray!
Some process-task produce protocol of actions using a code site.
After completing its work, this process-task launches a separate process-archiver, which must archive all the results of its work, including the logs of the code site.
The problem is that the TCodeSiteLogger does not provide methods for an inspection of how many sended messages have not yet been full-processed by the code site dispatcher process. The process-task does not have the ability to understand that everything transferred to the code site has been successfully stored to the cls-file and that the process-archiver can be launched.
Interesting request. I understand what you are requesting, but I’ll need to think about this a bit more. It really only makes sense for a single application. Gets much more complicated when multiple applications are logging to the Dispatcher. There are significant changes coming in CodeSite 6, and it may be possible to provide some information in certain configurations.
Ray
Hi,
Just an idea for a (temporary) work-around until a proper solution is created.
What I do is, when starting and stopping an application (logging), is insert recognizable entries in the logging.
In my case it is “CodeSite->AddSeparator();” but anything recognizable should work.
You could then try to detect if this “end” entry is in the cls-file.
Then the archiver can be started.
Kind regards,
Hans Brand
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
These cookies are needed for adding comments on this website.
These cookies are used for managing login functionality on this website.
Stripe is a payment processing platform that enables businesses to accept online payments securely and efficiently.
Service URL: stripe.com (opens in a new window)