Hi Stephane,
In the following command, messageid field identifies the type of message to be sent to a logging server.
set logging-server <hostname-or-ip-address[:port]> proto <proto> level <level> [facility <facility>] [messageid <messageid>] [serverca <filename>] [structured-data <structured-data>]
In the below example, switching-related logs such as Logical switch, Logical switch ports, Switching profiles & switch security features will be sent.
Example: set logging-server 192.168.110.60 proto udp level info facility syslog messageid SWITCHING structured-data audit=true