changed format for log files and added a buffer to avoid to many disk writes
path is now also saved to the log when an api call is intercepted