Just in case my syslog config and the output of the show command of my X440G2 running 22.6.1.4.
X440G2.7 # show config | i syslog
configure syslog add 172.24.24.110:514 vr VR-Default local0
enable log target syslog 172.24.24.110:514 vr VR-Default local0
configure log target syslog 172.24.24.110:514 vr VR-Default local0 filter DefaultFilter severity Info
configure log target syslog 172.24.24.110:514 vr VR-Default local0 match Any
configure log target syslog 172.24.24.110:514 vr VR-Default local0 format timestamp seconds date Mmm-dd event-name none priority host-name tag-name
X440G2.8 # sh log configuration target syslog
Log Target : syslog; 172.24.24.110:514 (vr VR-Default), local0
Enabled : yes
Filter Name : DefaultFilter
Match regex : Any
Severity : Info (through Critical)
Format : PRI Mmm DD HH:MM:SS HOSTNAME TAG:
Port Type : UDP