Changing the fb logging code to something else