Web lists-archives.com

Format for rsyslog configurations

Which format should I use for the rsyslog configuration on Debian 9?
According to the rsyslog documentation, I should use the new "advanced" format, but I saw that the default rsyslog.conf uses some of the "obselete legacy" (with $) format but sometimes it does not. Is both format still possible in Debian 9?