- 2 minutes to read

Logging using the WCF Log API

Important

❌ Not available in Nodinite v7. WCF logging existed only in Nodinite v6, which is no longer supported. This page stays so that old links still work; use Log using REST for all new logging.

The Nodinite v7 Log API is a REST API. The WCF endpoints (.svc services over HTTP, HTTPS, TCP, and MSMQ) are not available in Nodinite v7. If you have solutions that logged through WCF, move them to one of the alternatives below while you update from v6 to v7.

What to Use Instead

You used Use in Nodinite v7 Why
WCF over HTTP or HTTPS (synchronous) REST logging: POST https://{host}:{port}/LogAPI/api/LogEvent Same synchronous model, plain JSON, callable from any language
WCF over TCP REST logging, or the Pickup Service REST works from any platform; the Pickup Service decouples your application
WCF over MSMQ (one-way) The Pickup Service reading from a queue, such as MSMQ Asynchronous delivery with retries, without WCF Activation in IIS
Logging enlisted in a distributed transaction (DTC) Write the Log Event to a queue or folder inside your transaction, and let the Pickup Service deliver it The event is only written if your transaction commits, and delivery is retried

Tip

For most solutions, asynchronous logging with the Pickup Service is the most resilient choice: your application never waits for the Log API, and no events are lost if the Log API is unavailable.

Migration Checklist

  1. Find the clients that call LogApiService.svc, LogApiServiceSecure.svc, LogApiServiceOneWay.svc, or LogApiServiceSessionful.svc.
  2. Choose REST or the Pickup Service for each, using the table above.
  3. Send the same data as JSON formatted Log Events. The fields are the same as in the WCF contract.
  4. Point the clients at the Log API base URL of your environment, for example https://nodinite.contoso.com:40002/LogAPI/. See Find the base URL.
  5. If the Log API is protected (Enable Authentication in the Portal), give each client its own OAuth 2.0 credential; see Protect the Log API with OAuth 2.0 and Entra ID.

Note

Nodinite v6 is no longer supported. To move an existing v6 installation, follow Updating from v6 to v7.

Next Steps