added log output for random app key