Registry / logging / safe-logging

safe-logging

JSON →
library3.16.0javamavenunverified

Palantir open source project providing safe logging utilities to prevent sensitive data leakage in logs.

<dependency> <groupId>com.palantir.safe-logging</groupId> <artifactId>safe-logging</artifactId> <version>3.16.0</version> </dependency>
INSTALL
IMPORT
SIG · SAFE-LOGGING
S
safe-logging
loggingjavav3.16.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SafeLoggable
✓ com.palantir.logsafe.SafeLoggable

Creates a safe loggable message with structured arguments.

import com.palantir.logsafe.SafeLoggable; import com.palantir.logsafe.Arg; SafeLoggable loggable = SafeLoggable.of("User action: {}", Arg.of("userId", 123)); System.out.println(loggable.getSafeLogMessage());
Debug
Known issues
gotchaSafe logging requires explicit marking of safe arguments; unmarked arguments may be redacted.
fix
Use Arg.of() for safe arguments and ensure all sensitive data is wrapped.
affects: *
Upgrade
Version history
3.16.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
46 hits · last 30 days
node
38
Resources