Fix internal links for docs/
Merge pull request #2324 from bootstraponline/fix_doc_links

Fix internal links for docs/
ensure that the logger is initialized with correct args before using it (fix #2308)