Added symlink check for log file deletion. See Issue #123.