Nexus' software components have new names:

Nexus PRIME -> Smart ID Identity Manager
Nexus Certificate Manager -> Smart ID Certificate Manager
Nexus Hybrid Access Gateway -> Smart ID Digital Access component
Nexus Personal -> Smart ID clients

Go to Nexus homepage for overviews of Nexus' solutions, customer cases, news and more.


This article describes how to configure Log4j2 for Smart ID Identity Manager.

<SMARTIDHOME>

In this article, <SMARTIDHOME> refers to /home/nexus, but this can be different depending on the setup.

log4j2

The logging of Identity Manager uses log4j2, you can configure it with <SMARTIDHOME>/docker/compose/identitymanager/config/log4j2.xml, this will effect Identity Manager Operator, Admin and Tenant

See log4j2 documentation: https://logging.apache.org/log4j/2.x/manual/configuration.html

JSON template

You can enable the json template in the <SMARTIDHOME>/docker/compose/identitymanager/config/log4j2.xml by switching from the PatternLayout to JsonTemplateLayout.

You can then modify the json template in <SMARTIDHOME>/docker/compose/identitymanager/config/log4j2JsonLayout.json. This will effect Identity Manager Operator, Admin, and Tenant.

See log4j2 json template documentation: https://logging.apache.org/log4j/2.x/manual/json-template-layout.html

This article is valid for Smart ID 21.04 and later.