header. We must add a log before any generation of ouput content so we are sure a buffering of output has been started.