Axon Server logging is based on Spring logging. For this reason you can customize logging configuration simply by using system properties.
JSON format
If you want to have your logs in JSON format, you can customize the logback configuration. The property that needs to be configured is logging.config with a path to your custom logback.xml. An example how to configure this property would be logging.config=logback.xml In case you have not already configured logback.xml for Axon Server, a good starting point for JSON logging format is this example
The <layout> XML tag is the one that configures the format of the output.