added link saving feature

This feature save the links present in the logs in a new file, and saves the topics in the logs if topic begins with a '#'.