Printing output of signature generation into a log file.