Support custom log formats more