Add log capabilities
sed syntax fix
Merge pull request #2 from gfjardim/master

Add mysql_safe log capabilities.