Hi,
We are seeing the following errors in the server.log of those keycloak
servers that use a database that had been already initialized before and
already has all the tables. As far as I know, these errors are expected as
the realm and user already exist in the database. We do not want to forward
these errors to our logging server, so is there a way to remove/disable
these logs?
06:19:46,301 WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper]
(ServerService Thread Pool -- 59) SQL Error: 1062, SQLState: 23000
06:19:46,302 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper]
(ServerService Thread Pool -- 59) (conn=58) Duplicate entry
'master-admin' for key 'UK_RU8TT6T700S9V50BU18WS5HA6'
06:19:46,353 ERROR [org.keycloak.services] (ServerService Thread Pool
-- 59) KC-SERVICES0010: Failed to add user 'admin' to realm 'master':
user with username exists
Thanks,
Moe Doutaghy
Show replies by date