[PATCH] debug: Print header when logging to stdout

Andreas Schneider asn at samba.org
Fri Dec 5 07:39:38 MST 2014

On Friday 21 November 2014 14:52:16 Christof Schmitt wrote:
> This patch changes the debug code, so that the header is always printed.
> I find this useful for debugging interactive commands with -d10. Always
> having the debug header in the output would also make the explicit
> function name in the debug message obsolete.
> I assume that there is a historical reason for the behavior in the debug
> code; does anybody know why the debug code behaves differently for
> stdout and logging to a file?

I would also like to have the debug header in stdout logging. So you have at 
least my +1. But others should comment too.

	-- andreas

Andreas Schneider                   GPG-ID: CC014E3D
Samba Team                             asn at samba.org

More information about the samba-technical mailing list