Which log message follows logging best practices in production?
Show answerHide answer
Correct answer: A [Method=ClaimProcess#createClaim][Claim#PublicID=00001234] was created.
Explanation
Answer Option (Which option is correct) A. [Method=ClaimProcess#createClaim][Claim#PublicID=00001234] was created.Explanation:
A useful production log identifies the operation and an appropriate business identifier without exposing personal details. Names, addresses, payment-card numbers, and other sensitive information should not be written as clear text. A generic alarm without identifying context is less useful for tracing the failing transaction.
Verification note: The exact option selection could not be independently verified from accessible official documentation. Relevant official topic links are provided, but some exact configuration or training rules require the product Configuration Guide or Cloud Standards behind sign-in. The source key is retained.
Why the other options are incorrect:
B. The personal auto claim was created for Jane Smith with driver's license AD45678:
The message exposes a name and driver license number. Those are sensitive personal values. A diagnostic identifier should replace them.
C. The claim was created successfully for: Ray Newton, email: rnewton@foo.com, vehicle: white 2022 Toyota Camry:
The message includes a name and email address. It also includes unnecessary vehicle details. The production log should restrict its data to justified context.
D. ERROR! The claim was not created because the database connection was lost:
The message reports a failure in broad terms. It does not identify the affected operation or record. Structured context would make the event easier to investigate.
References:
Guidewire Security - Logging sensitive information
Guidewire Security - Logging, monitoring, and audit governance