Logging isn't working for whatever reason