Created diagram and log in a PDF file.