[keycloak-user] Keycloak json logs

Vucomir Ianculov vukomir at ianculov.ro
Wed Aug 14 14:56:53 EDT 2019


Hi, 

i'm using keyclock server running docker and i want to enable json log format to stdout 

if i execute following commands when keycloak is started it will work 

/subsystem=logging/json-formatter=json:add(exception-output-type=formatted, pretty-print=false, meta-data={label=value}) 
/subsystem=logging/console-handler=CONSOLE:write-attribute(name=named-formatter, value=json) 

but i want this to be done autmatacly on docker image start, i tryed adding a custom scipt .cli but it dose not work. 

dose enyone know who can i do this automaticly ? 

Thanks. 


Kind Regards, 
Vucomir Ianculov 
E-Mail: [ mailto:vukomir at ianculov.ro | vukomir at ianculov.ro ] 
Phone: (+40) 722 - 690 - 514 
[ http://ro.linkedin.com/in/vukomir |    ] 
[ http://www.xing.com/profile/Vucomir_Ianculov ] 



More information about the keycloak-user mailing list