removed logging
adding logging back in piece by piece
added environment detection to log file, creates absolute paths now
fixed path in logger
removed part of logger definition
file permissions were wrong on server, added logging back