Not that i am ware old IOS can support that feature, we can see new IOS XE code :
i was checking the configuration code not that i see can be possible, only you can have TCP and UDP ports
# logging host 10.10.10.10 ?
discriminator Specify a message discriminator identifier for this
logging session
filtered Enable filtered logging
sequence-num-session Include session sequence number tag in syslog message
session-id Specify syslog message session ID tagging
transport Specify the transport protocol (default=UDP)
vrf Set VRF option
xml Enable logging in XML
<cr>
https://www.cisco.com/c/en/us/td/docs/switches/lan/cisco_ie3010/software/release/15-2_2_e/configuration/guide/SwCfg/swlog.html