Web Connection
wcerrors question
Gravatar is a globally recognized avatar based on your email address. wcerrors question
  Michael B
  All
  May 8, 2019 @ 04:04pm

Rick,

Can you tell me how you create a row in wcerrors?

Here is a row.

2019.05.8 17:33:10:015 - 5500_F7F9F227CC82 - RPC Server Unavailable due to thread timeout: Attempt to Reload Server... - /catalog_2.epc?mode=vehicle-parts&make=subaru&year=2018&model=&parttype= - 0 - 5500 - Com: 0:0:5500

It would be great if you could replace the ? with what the value is?

2019.05.8 17:33:10:015 - Date 5500_F7F9F227CC82 - ? RPC Server Unavailable due to thread timeout: Attempt to Reload Server... - Error /catalog_2.epc?mode=vehicle-parts&make=subaru&year=2018&model=&parttype= - Our link 0 - ? 5500 - ? Com: 0:0:5500 ?

Gravatar is a globally recognized avatar based on your email address. re: wcerrors question
  Rick Strahl
  Michael B
  May 8, 2019 @ 04:18pm

You shouldn't write to that log - that log is only used by the Web Connection DLLs (wc.dll and webconnectionmodule.dll).

For application code:

  • Use wwServer::Log() to write out the Request Log
  • Use wwServer::Trace() to write out to wcTraceLog.txt
  • Use LogString() in wwUtils.prg to write to a custom location

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: wcerrors question
  Michael B
  re: wcerrors question
  May 9, 2019 @ 03:36am

Rick I do not want to write to it, I want to understand what the non-obvious values are?

Gravatar is a globally recognized avatar based on your email address. re: wcerrors question
  Rick Strahl
  Michael B
  May 9, 2019 @ 03:52am

Those values are internal and of no use for you. They are debug values. The large number is either the process or thread Id. A couple are COM spin counts. FWIW, whatever you're showing is ISAPI and really old to boot as it doesn't include the request id.

The .NET Module has a much simpler log format.

+++ Rick ---

© 1996-2019