Trying to do logging

NOTE: DOES NOT WORK YET