{"id":55959,"library":"safe-logging","title":"Palantir Safe Logging","description":"Palantir open source project providing safe logging utilities to prevent sensitive data leakage in logs.","status":"active","version":"3.16.0","language":"java","source_language":null,"source_url":"https://github.com/palantir/safe-logging","tags":["logging","security","palantir","safe"],"install":[{"cmd":"<dependency>\n  <groupId>com.palantir.safe-logging</groupId>\n  <artifactId>safe-logging</artifactId>\n  <version>3.16.0</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'com.palantir.safe-logging:safe-logging:3.16.0'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"SafeLoggable","correct":"com.palantir.logsafe.SafeLoggable"}],"quickstart":{"code":"import com.palantir.logsafe.SafeLoggable;\nimport com.palantir.logsafe.Arg;\n\nSafeLoggable loggable = SafeLoggable.of(\"User action: {}\", Arg.of(\"userId\", 123));\nSystem.out.println(loggable.getSafeLogMessage());","lang":"java","description":"Creates a safe loggable message with structured arguments."},"warnings":[{"fix":"Use Arg.of() for safe arguments and ensure all sensitive data is wrapped.","message":"Safe logging requires explicit marking of safe arguments; unmarked arguments may be redacted.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'data':15 'leakag':16 'log':3,10,18,19 'open':5 'palantir':1,4,21 'prevent':13 'project':7 'provid':8 'safe':2,9,22 'secur':20 'sensit':14 'sourc':6 'util':11","created_at":"2026-06-15T10:14:38.899377+00:00","updated_at":"2026-06-15T10:14:38.899377+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/palantir/safe-logging","github":"https://github.com/palantir/safe-logging","docs":"https://appdoc.app/artifact/com.palantir.safe-logging/safe-logging/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["logging","security"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}