remove all query strings from appstore url to make things normalized
write log information to log file instead of stdout to make launcher's life easier