Switch can automatically export all log messages on a daily basis. This is configured through the "Export messages to XML" and "Destination folder" user preferences (see Logging.
If you set the destination folder to an input folder for a Switch flow, you can automatically process the exported log files using Switch.