Added log message for when activity is recognized. Maybe print to textfile is better?