summaryrefslogtreecommitdiff
path: root/lib/util/debug.c
AgeCommit message (Collapse)AuthorFilesLines
2011-03-04debug: fixed a valgrind errorAndrew Tridgell1-1/+4
Thanks to Volker for spotting this one! Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Mar 4 03:09:52 CET 2011 on sn-devel-104
2011-03-01lib/util: new merged debug systemAndrew Bartlett1-0/+1059
This is the s3 debug system, with a number of changes to tidy it up for common use. The debug class system is simplified by the removal of the ISSET table, the system no longer attempts to cope with assignment of DEBUGLEVEL, and the full class table is always available (rather than just DEBUGLEVEL_CLASS[DBCG_ALL]) from startup. It is also no longer confusingly described as a hack, but as the initial table. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Mar 1 04:32:12 CET 2011 on sn-devel-104
2011-03-01lib/util move debug.[ch] out of the wayAndrew Bartlett1-273/+0
This will allow a modified version of the s3 debug system to be the new common debug system. Andrew Bartlett
2010-11-24lib/debug Add clarifying commentsAndrew Bartlett1-2/+2
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