charmloader: log fails to file

Log all charms and bundles that failed the ingestion process. With err descriptions if possible.
Could you add descriptions which files and where different events are logged? Tnx.