How can I create a catch-all log destination?

Filters are optional. A catchall should appear in your '''syslog-ng.conf''' before all other entries; and can look something like:

 destination catchall {
file(/var/log/catchall);
};
log {
source(syslog);
destination(catchall);
};