Skip to main content
Question

Supply client-name with the Java-SDK

  • November 19, 2025
  • 1 reply
  • 19 views

Olav Alstad
Seasoned

With the Java-SDK, I don’t see an option to supply the client-name during initialization of the client.  

https://statics.teams.cdn.office.net/evergreen-assets/safelinks/2/atp-safelinks.html

Is there anyway we can do that? We need the client-name for logging purpose. 

1 reply

Mithila Jayalath
Seasoned Practitioner
Forum|alt.badge.img+8

@Olav Alstad  you can add an app identifier to the ClientConfig.  You’ll have to build the ClientConfig and set the app identifier. 

https://github.com/cognitedata/cdf-sdk-java/blob/main/src/main/java/com/cognite/client/config/ClientConfig.java#L281