log_functions is written by: * Guillaume Lelarge