A supplier asks for “the full logs” to investigate a failed customer request. Before exporting them, find out what the application recorded. A diagnostic file can contain much more than an error message: request content, addresses, identifiers or authentication information may have been captured along the way. Useful troubleshooting starts with a deliberate logging design.
Original conceptual illustration, not a vendor screenshot or an actual ITZ client installation. Technical sources reviewed on 1 December 2026.
Define the question each event should answer
For a quotation application, support may need to know which operation failed, its time, a request reference and a controlled error category. It may not need the customer’s complete message or every uploaded document. Ask the maintainer to demonstrate how they trace one failed request using a non-sensitive example.
Separate technical diagnostics from the business history showing who changed an order. Those records serve different readers and may require different access and retention decisions. Neither should become an excuse to copy every field from the underlying customer record.
Choose fields deliberately
The OWASP Logging Cheat Sheet identifies access tokens, passwords, sensitive personal data, connection strings and primary secrets among information that should usually not be recorded directly. It also discusses protecting logs against unauthorised access and tampering.
In an ASP.NET Core example, Microsoft’s HTTP logging documentation warns about sensitive information and the performance impact of recording request and response bodies. Review the installed framework and logging configuration; a development troubleshooting setting is not automatically suitable for production.
A practical specification can approve a small set of fields, such as operation name, outcome and a generated request reference, while excluding credentials and unrestricted message content. Treat this as a design to test, not a claim that a redaction switch catches every secret. Free-text errors, URL parameters and exception details deserve attention too.
Test what the system actually emits
- Create a controlled test request containing clearly synthetic marker text in fields that should be excluded.
- Exercise a success, a validation failure and an integration failure in an approved test environment.
- Inspect the application log, any central log store and the support export. Check where the marker appears, rather than inspecting only the screen shown to the user.
- Confirm that authorised support can still connect the event to the affected operation without needing the excluded content.
- Repeat after changes to logging libraries, integrations or error handling.
Do not use real customer records or a working token as test material. If a credential is already present in a log, restricting future collection does not invalidate the old credential. Follow the relevant incident process and discuss credential rotation and integration continuity with the responsible administrator.
Control the support copy as well as the original
Agree who can search logs, who may export them and how an approved supplier receives the minimum useful extract. A restricted log store loses much of its protection when someone pastes its contents into an unrestricted ticket or chat. Record the business purpose and the incident reference for a support export.
Set a retention decision with an owner, including copies and backups where relevant. The appropriate period depends on operational needs and applicable obligations; this guide does not prescribe a universal legal retention period. If the current collection is unclear, ask ITZ to review the diagnostic fields, access routes and troubleshooting export.
Review diagnostics without losing their purpose
ITZ’s software maintenance service offers a route to discuss logging changes within an existing application. Bring the application stack, the fault you need to investigate and a redacted description of the current log destinations. Review Your Application Logging to discuss a useful event structure, sensitive-field exclusions and repeatable acceptance checks.