add display old log
add log function
Merge pull request #22 from scboucher/master

Log management