appenders: my_stdout: kind: console encoder: pattern: "{h({d(%Y-%m-%d %H:%M:%S)(utc)} - {l}: {m}{n})}" my_file_logger: kind: file path: "log/my.log" encoder: pattern: "{d(%Y-%m-%d %H:%M:%S)(utc)} - {h({l})}: {m}{n}" root: level: trace appenders: - my_file_logger