+1 for this feature, but only if it will not affect print performance.
Also it's possible to write counters in log (filament length printed, total hours of print time and so on).
edit: g-code commands to write something into logfile or to redirect next command output into logfile also would be helpful.