#10 added the management of logging in the settings