Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7813851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T05:00:11+00:00 2026-06-02T05:00:11+00:00

I have a project that was written in Delphi 6 and used Indy 8.

  • 0

I have a project that was written in Delphi 6 and used Indy 8. I need to upgrade this project to Delphi 2005 and use Indy 10.

In Delphi 2005, when I open the Form containing the old Indy components, the following two errors occur:

Property OnLogItem does not exist

Property Target does not exist

Both of these errors have to do with Indy’s TIdLogDebug component.

I have heard that instead of using the TIdLogDebug, one must use TIdLogEvent instead. However, this component does not have the OnLogItem and Target properties.

What event handler should I use with the TIdLogEvent component of Indy 10, that substitutes the OnLogItem event of the TIdLogDebug component of Indy 8?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T05:00:14+00:00Added an answer on June 2, 2026 at 5:00 am

    TIdLogDebug itself still exists in Indy 10, but it is very different than Indy 8’s TIdLogDebug. TIdLogDebug in Indy 9 and later does not have a Target property or an OnLogItem event anymore.

    Indy 8’s TIdLogDebug was Indy’s only logging component and it supported multiple types of output – file, debugger, and event. In Indy 9, that functionality was split into separate TIdLogFile, TIdLogDebug, and TIdLogEvent components (and a new TIdLogStream component was added).

    In Indy 9 and later, the TIdLogEvent component would be the correct replacement to use. TIdLogEvent has OnReceived, OnSent, and OnStatus events. Indy 8 did not differentiate between different directions of data flow in TIdLogDebug, everything was funneled through the single OnLogItem event. The log messages for each direction of data flow had different prefixes. In Indy 9 and later, separate events are now used for each direction, so there is no direct replacement for the old OnLogItem event. You need to update your code to fit in with the newer event model.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

we have a project written in Delphi that we want to convert to C#.
I have a win32 library (DLL) project that was originally written in Delphi. It
This is a test program that I have written for a larger project that
I have a project that has a GUI (written in QT) and a command-line
We have a updatable web site project that is written in c#, it has
We have a project written in VB.NET using Visual Studio 2008 that is to
We have a project that references COM+ components (written in VB6). The components are
I have a django project that uses a sqlite database that can be written
I have taken over a medium sized project that was written originally using RoR.
I have an InstallShield project that invokes an EXE written in C#, passing it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.