4teamwork / ftw.linkchecker

0 stars 0 forks source link

Log output adjustments #56

Closed maethu closed 5 years ago

maethu commented 5 years ago

I would like to see more log output, in order to see that the script is actually doing.

Currently I only see:

Linkchecker instance started as expected.
Found site administrators email addresses for: m.leimgruber@4teamwork.ch

I would like to see something like:

${timestamp} - Start searching for broken internal links
${timestamp} - Found 203 broken internal links
${timestamp} - Start searching for external links
${timestamp} - Found 3012 external links
${timestamp} - Start checking external links
${timestamp} - ${error} received for ${link}
${timestamp} - ${error} received for ${link}
${timestamp} - ${error} received for ${link}
${timestamp} - ${error} received for ${link}
${timestamp} - Checked all external links
${timestamp} - Mail send to ${email}
busykoala commented 5 years ago

@maethu, could we please look at this together. Most of the output above would be generated while doing multithreading. We could try to log into different files and then merge them together or something, if you think this is a useful output to have.