[keycloak-user] Internal server error with event logging

Stian Thorgersen sthorger at redhat.com
Thu Aug 16 11:19:57 EDT 2018


Seems like something is putting to much information in the details of the
events. It should be short and concise to prevent filling up the database.
Do you know what event it is and how to reproduce?

On Thu, 16 Aug 2018 at 14:30, Matthias Kesternich <
matthias.kesternich at moneymeets.com> wrote:

> Hello,
>
> with event detail logging enabled I keep getting 500 Internal Server
> Error. There was also a post on this list in May detailing the same problem
> (see http://lists.jboss.org/pipermail/keycloak-dev/2018-May/010807.html ).
>
> As outlined in the post the problematic piece of code is
>
>     @Column(name="DETAILS_JSON", length = 2550)
>     private String detailsJson;
>
> This hardcodes length to 2550 and apparently some of my event details get
> bigger than that.
>
> Any idea what I can do about this? Manually changing the database column
> could work, but I’m afraid a future  keycloak db migration will badly
> interfere with this.
>
> Is there any “official” way to override values like this? E.g. some
> configuration setting or JPA way to overwrite this?
>
> Thanks,
> -Matthias
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user


More information about the keycloak-user mailing list