Create loghist.pl

Initial commit