summaryrefslogtreecommitdiff
path: root/lib/util/debug.c
AgeCommit message (Collapse)AuthorFilesLines
2010-11-04debug: fixed default debug settingsAndrew Tridgell1-0/+2
this fixes -d in our command line tools (eg. samba-tool) Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 4 01:48:15 UTC 2010 on sn-devel-104
2010-11-02debug Explain the behaviour of setup_logging() more clearlyAndrew Bartlett1-1/+7
2010-11-02lib/debug Use vdprintf rather than manually allocateAndrew Bartlett1-5/+1
This allows the system to use whatever buffers it wants for the string rather than assuming we need to malloc() it. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 2 00:18:43 UTC 2010 on sn-devel-104
2010-11-01lib/util Remove setup_logging_stdout()Andrew Bartlett1-9/+0
This API is no longer required now that we don't attempt to build ndrdump with the s3 build system, and because the s3 debug system will soon have the same setup_logging() API. Andrew Bartlett
2010-04-02debug: enable talloc loggingAndrew Tridgell1-0/+12
we want to ensure talloc warnings are printed in the log
2009-06-29Fix ndrdump to use a common setup_logging() APIAndrew Bartlett1-0/+8
By adding a new common setup_logging_stdout() API, we no longer need to abuse the ABI compatability between the different setup_logging() calls in Samba3 and Samba4's DEBUG() subsystems. The revert of 49a6d757b4d944cd22c91b2838beb83f04fbe1e9 works with this to fix bug 6211. Andrew Bartlett
2009-06-11Fix build of recurusion fix in reopen_logs()Andrew Bartlett1-1/+1
2009-06-11Don't recurse in reopen_logs().Andrew Bartlett1-0/+6
Use the state to avoid recursion in reopen_logs(), as DEBUG() can call this function. Andrew Bartlett
2009-02-02lib/util: s/class/dclassStefan Metzmacher1-1/+1
metze
2008-10-20Provide two symbols to allow ndrdump compiled by Samba 3 to be used forJelmer Vernooij1-0/+1
Samba 4.
2008-10-19Fix segfault when using DEBUG() in the merged build.Jelmer Vernooij1-1/+4
2008-10-11Move lib/util from source4 to top-level libutil.Jelmer Vernooij1-0/+248
Conflicts: source4/Makefile