implement the log, fix slash in the github base path and update the sample to the first workign one