Added prototype implementation of /log route