Implement log system and file of action

Some explications are added in README