Added logging on command line
Merge branch 'master' of github.com:ricallinson/php-rewrite