Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Locating Errors via Log File
#1
Hi Dean.

When I get an error in the log file, it's not always clear to me how to locate where it's originating from.

What do you suggest?
Reply
#2
There are a number of indicators in there to locate it. Most importantly are the executable program where it occurred and the server it's on. The executable name generally is fairly obviously associated with a particular area of CQC (web server, logic server, IV, etc...)

In the case of those programs that can be loaded on more than one host machine, the host name indicates which machine it happened on. For those that can only be loaded on the master server, they'll always show that as the host.

Here's a sample from a log dump:

Code:
11/28 17:42:48-Cathy, CQCServer, MainThread
{
    CQCKit, CQCKit_ThisFacility.cpp.2794, Failed/Not Found, Error: 6000/0/0
    The CQC Installation Server could not be contacted
      <CQCServer> CQCServer_ThisFacility.cpp - 3303
}

It gives you:

1. The time it occurred (11/28 17:42:48)
2. The host on which is occurred (Cathy)
3. The program where it occurred (in this case CQCServer, which is the program that hosts device drivers and maybe a little less obvious a name than the others.)
4. The thread within the program where it failed (MainThread)
5. Then there's the detailed error location info, probably only useful to me
6. Then there's the error description (The CQC Installation Server could not be contacted) This may or may not be meaningful to you, or may or may not provide some hints anyway.
5. There there can be a stack trace, back up the sequence of calls that got you to the error, which is really only of interest to me.


If the problem is in a driver, it'll be in CQCServer and the thread name will include the driver moniker (each one runs within CQCServer on its own thread), and often the actual error will mention the particular driver as well, if it's a driver level error and not something from general purpose code beneath.

Of course if you have doubts, just post the log entries in question and ask. There's no way to make all of the errors something that end users can understand, because they are reporting very technical information. All that really can be done is try to provide some sort of higher level status (like the driver status.) I've thought about various ways that might be done and hopefully can implement some of that in the 5.0 time frame.
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recurring Errors - Help to identify Bugman 1 661 04-02-2022, 07:52 AM
Last Post: Bugman
  More CQC Errors znelbok 3 829 01-23-2022, 06:32 AM
Last Post: Dean Roddey
  New Install Errors znelbok 3 913 11-29-2021, 02:42 AM
Last Post: znelbok
  Help with Log File Error karenlee 4 1,165 10-28-2021, 08:17 AM
Last Post: Dean Roddey
  I cant enter parameters for sizing into the webcam widget. I get errors about invalid ghurty 2 1,562 04-29-2020, 04:01 PM
Last Post: Dean Roddey
  RIVA errors zra 3 1,816 02-09-2020, 04:02 PM
Last Post: Dean Roddey
  Generic-Network Monitor - Config File Error gReatAutomation 17 7,383 06-27-2019, 11:46 AM
Last Post: gReatAutomation
  Reading Text File of Google Calendar Entries kblagron 30 12,069 06-10-2019, 04:31 PM
Last Post: kblagron
  File Tag Repository and .M4A Files kblagron 10 4,319 11-18-2018, 04:40 PM
Last Post: Dean Roddey
  Echo Config file issues ghurty 6 4,519 07-08-2018, 07:13 PM
Last Post: ghurty

Forum Jump:


Users browsing this thread: 1 Guest(s)