Log and log managament

Description of the log management

NOTE: Work in progress. See Github Issue