fake version of the 'log' command