CodeSite initialisation

Home Forums CodeSite CodeSite initialisation

Viewing 1 reply thread
  • Author
    Posts
    • #422
      Markus Humm
      Participant

        I am using CodeSiteLite and have created a wrapper around it (e.g. on some mobile platform I use some other logging and that wrapper can shield me away from such details).

        The wrapper additionally checks command line params on Win32/Win64 and only if logging is enabled via some parameters log messages are sent to CodeSite.

        Now it looks like CodeSite still invokes the dispatcher even if nobody requested logging and this triggers some firewall messages. One of my customers now got into trouble with his IT department, as they classified it as malware or so.

        Question: can I disable CodeSite in such a way that the dispatcher is only started when I really want to use CodeSite?

      • #424
        Ray Konopka
        Keymaster

          If the Dispatcher is getting started, then I suspect that you have another CodeSite.Send method being called before you are disabling the logging. To disable logging, be sure to call CodeSiteManager.Enabled := False before sending any CodeSite messages.

          Ray

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.