summaryrefslogtreecommitdiffstats
path: root/lib/util/debug.h
Commit message (Collapse)AuthorAgeFilesLines
* debug: fixed default debug settingsAndrew Tridgell2010-11-041-1/+5
| | | | | | | | | 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
* lib/util Remove setup_logging_stdout()Andrew Bartlett2010-11-011-6/+1
| | | | | | | | 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
* lib/debug Add DEBUGC and DEBUGADDC as dummiesAndrew Bartlett2010-10-121-0/+4
| | | | | | | This allows code that needs to also compile against the source3 debug code to compile in source4. Andrew Bartlett
* debug: enable talloc loggingAndrew Tridgell2010-04-021-0/+3
| | | | we want to ensure talloc warnings are printed in the log
* s4-debug: removed debug_ctx(). It didn't catch on :-)Andrew Tridgell2010-01-091-4/+0
| | | | There was only one user, which isn't worth it for the overhead.
* Fix ndrdump to use a common setup_logging() APIAndrew Bartlett2009-06-291-1/+10
| | | | | | | | | 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
* Revert "s4:debug: make setup_logging() a bit more compatible with samba3"Andrew Bartlett2009-06-291-1/+1
| | | | | | | | The problem is that the enum was previously a 'rachet', that is, it would only reset to a level higher than it was previouly set to. Changing the order broke file-based logging for our production sites. This reverts commit 49a6d757b4d944cd22c91b2838beb83f04fbe1e9.
* s4:debug: make setup_logging() a bit more compatible with samba3Stefan Metzmacher2009-01-091-1/+1
| | | | | | | | | | | In samba3 the 2nd argument is bool interactive. E.g ndrdump uses true there which used to map to DEBUG_FILE in samba4, it maps to DEBUG_STDOUT now, which is better. In the end end samba3 should also use the samba4 version of setup_logging() metze
* lib/util: make it possible to use debug.h with using xfile.hStefan Metzmacher2008-12-171-1/+2
| | | | metze
* Rename class to "cls" since the first is a keyword name in C++. Thanks,Jelmer Vernooij2008-11-021-1/+1
| | | | Brad.
* ALlow util/debug.h to be included more than once.Jelmer Vernooij2008-11-011-0/+5
|
* Make sure prototypes are always included, make some functions static andJelmer Vernooij2008-10-201-0/+4
| | | | remove some unused functions.
* Move lib/util from source4 to top-level libutil.Jelmer Vernooij2008-10-111-0/+129
Conflicts: source4/Makefile