add->logg system
note->it must be improved

Signed-off-by: noilir <alban.mariette@hotmail.fr>