support a source as well as type in the log path