How to output messages of a particular log category to individual files in RHBK 22

Solution Unverified - Updated -

Issue

  • I want to output messages of a particular log category to individual files.
  • For example, I want to output messages of the org.keycloak.events category, which can check login events, to a file different from the log file specified with the log-file option [1].

[1] Server Guide > 19.12. Logging

Environment

  • Red Hat build of Keycloak(RHBK) 22.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content