Unknown options: '--log=console,file', '--log-console-output=json'

Keycloak v17.0.1 (Quarkus)

Receiving ‘Unknown options’ when attempting to start with the logging options. Have I missed anything? I was following instructions at: Configuring logging - Keycloak

./kc.sh start --proxy edge --auto-build --log=console,file --log-console-output=json
Unknown options: ‘–log=console,file’, ‘–log-console-output=json’

These config options are valid starting KC18

1 Like

Thank you. Much appreciated.

Are there any options to log to a file for version 17.0.1?

AFAIK not out of the box, you‘ll have to use Quarkus properties directly.

1 Like