Hans Brand

Forum Replies Created

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • in reply to: Starting Dispatcher from the program is logging #4567
    Hans Brand
    Participant

      Hi Ray,

      Succeeded to implement FindWindow(), thank you.

      Hans

       

      in reply to: Starting Dispatcher from the program is logging #4565
      Hans Brand
      Participant

        Hi Ray,

        There is a function I can use to check if a CodeSite installation is available: CodeSite->Installed()
        But is there also a call to check if the CodeSite Dispatcher actually started running?

        You wrote:
        When a program first tries to send a CodeSite message, the CodeSite logging class (TCodeSiteLogger) checks to see if the Dispatcher is running. If it is not, then the Dispatcher is started.

        How do you accomplish this?
        And do I have access to this function from my program?

        Kind regards,
        Hans Brand

         

        in reply to: Retrieve version of the CodeSite Tool #4146
        Hans Brand
        Participant

          Hi Ray,

          We would like to purchase CodeSite Studio.

          Is it possible to pay through PayPal?
          Your “Raize Software Privacy Policy” page mentions PayPal.
          But it does not give me the choice in the Checkout.

          Kind regards,
          Hans Brand

          in reply to: Dispatcher: Out of Memory – Too high rate of messages? #4110
          Hans Brand
          Participant

            Dear Ray,

            Thank you for your attention.

            The rotating of the files is done using MaxSize and MaxParts.

            TCodeSiteDestination* dest = new TCodeSiteDestination(this);
            dest->LogFile->FileName =
            “LaserToolLog” + howlate.FormatString(“yyyymmmdd_hhnn”) + “.csl”;
            dest->LogFile->FilePath = “$(MyDocs)”;
            dest->LogFile->MaxSize = 10000; // Limit to 10 MByte
            dest->LogFile->MaxParts = 0; // Do not limit number of parts
            dest->LogFile->Active = true;

            The load on the Dispatcher is reflected in the tray icon for the Dispatcher, if you have that visible.
            The client uses my software unattended, so there is no human to monitor the tray icon.

            The data logged are mostly simple one-sentence messages.
            Like Send, SendMsg and SendWarning, etc.
            And EnterMethod and ExitMethod messages.

            If I look in the logging then about 160 messages are sent every second.
            This seems to fast for the Dispatcher to keep up to.

            I will send you a logging file.

            Kind regards,
            Hans

            in reply to: Retrieve version of the CodeSite Tool #4100
            Hans Brand
            Participant

              Dear Ray,

              Thank you for your interest in providing this functionality in future versions of CodeSite.

              In the meantime, I would have liked to use your suggestion using the SendFileVersionInfo function.

              However, in contrast to the documentation, this function is not available in the Express version of CodeSite?

              Kind regards,
              Hans

              PS.
              The CodeSite Studio 5 price is $399.
              Is this a one buy offer or an annual subscription?
              And how does this include future updates?

              in reply to: Should CodeSite work using Windows 64-bit (Modern)? #4034
              Hans Brand
              Participant

                Dear Ray,

                Thanks for the confirmation.
                I’ll stop trying to make it work until I hear from you that a new build is available.

                Have a lovely holiday period and speak again in the new year.

                Kind regards,
                Hans

                in reply to: Method indentation problem #3478
                Hans Brand
                Participant

                  Hi Ray,

                  Did not know that feature, I have also added it to my programs!

                  Kind regards,
                  Hans Brand

                  in reply to: CodeSite 5.4 Includes Major Performance Boost #2743
                  Hans Brand
                  Participant

                    Hi Ray,

                    Just had the opportunity to open a bunch of 10MByte CodeSite log files with the 5.4 FileViewer and the load speed increment is indeed very noticeable! Thanks!

                    Greetings,
                    Hans Brand

                    in reply to: Inspecting logger message queue #2413
                    Hans Brand
                    Participant

                      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

                       

                      in reply to: Search through lots of log files #2111
                      Hans Brand
                      Participant

                        Dear Ray,

                        Hope you are still in good health?

                        I would like to add another request for the CSSearchFile.exe program.
                        It would really help me when the “Date” and “Time Stamp” columns were included in the output.

                        Kind regards,
                        Hans Brand

                         

                        in reply to: Search through lots of log files #1893
                        Hans Brand
                        Participant

                          Dear Ray,

                          I am still using the CSSearchFiles tool with much success, thanks.

                          I have one request, though.
                          Would it be possible to do recursive searches down into sub-directories?
                          I have gathered a lot of logging files into more than 60 sub-folders (different levels deep) and want to quickly see if any event ever occurred in any of these log files. By the way, all my log files have the .csl extension.

                          Also noticed that the CSSearchFiles is not in the 5.3.4 distribution with C++ Builder?

                          Kind regards and stay healthy,

                          Hans Brand

                           

                          in reply to: CodeSite Dispatcher: Out of memory #1717
                          Hans Brand
                          Participant

                            Hi Ray,

                            There was another occurrence of the Out of Memory.

                            It is not a ‘disk full’ problem, there is plenty space left. Also after restarting no error is given (it would with a full disk, I guess).

                            Now also the Live Viewer was involved. I can sort of understand that the viewer will run out of memory in time. I will stop activating the Live Viewer, that is no problem. Still logging to disk.

                            But that the Dispatcher runs out of memory is stranger.

                            The CSDispatcherLog file was retrieved but that was after the program was restarted and there is no info in it about the previous Out of Memory anymore. I have asked them to first copy this file before restarting.

                            Below is a screen shot of the Task Manager after the software was restarted. The Memory use of the Dispatcher is seen to rapidly increase while the Live Viewer is not increasing that much. This indeed might lead to an Out of memory soon.

                            A few hours later:

                            Are there any hints you can think of to prevent the Dispatcher from eating up all its memory?

                            Kind regards, Hans

                             

                            in reply to: Search through lots of log files #1683
                            Hans Brand
                            Participant

                              Thanks Ray!

                              Your tool did exactly what I needed it to do! It found that only two *.csl files of the 300+ actually had a warning in it, using this single command:

                              CSSearchFiles.exe -type:W *feb25*.csl
                              CodeSite Search Files 5.3.3
                              Copyright (c) 1998-2018 by Raize Software, Inc. All Rights Reserved.

                              LaserToolLog2020Feb25_1324_0056.csl
                              2054 Warning Timeout waiting for BQ_LOW

                              LaserToolLog2020Feb25_1324_0138.csl
                              3915 Warning Timeout waiting for BQ_LOW

                              Greetings, Hans Brand

                               

                              in reply to: Search through lots of log files #1662
                              Hans Brand
                              Participant

                                Hello Ray,

                                Thank you for picking this up so quickly.

                                Just a list with files containing any warning messages is actually already very helpful to me. Most of the files do not have any warnings in them. I’ll wait for your tool.

                                Greetings,
                                Hans

                              Viewing 14 posts - 1 through 14 (of 14 total)