improved logging; fixed bug with metadata handling for multiple processors