Samba's logfile have informations like pid, uid, gid, timestamps that make debugging much more easier but when logging on stdout this is not working any more we just have the raw message. If more than one process (ie. winbindd and its childs) are logging to stdout then it can be complicated to understand who is writing what.