Rewrite log.py, changing to use .format instead of % as well as add a [{server}] prefix to all logged messages