<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sssd.git/src/util/debug.c, branch 1.9.2-35</title>
<subtitle>sssd with jhrozek's patches</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/'/>
<entry>
<title>DEBUG: Log to syslog if we are unable to open a debug fd</title>
<updated>2012-06-29T15:40:03+00:00</updated>
<author>
<name>Stephen Gallagher</name>
<email>sgallagh@redhat.com</email>
</author>
<published>2012-06-27T18:08:38+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=1821a0d507d5aadf725d4af4757819119c91cc68'/>
<id>1821a0d507d5aadf725d4af4757819119c91cc68</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DEBUG timestamps offer higher precision</title>
<updated>2011-09-08T19:29:42+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2011-08-29T08:32:03+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=1a7529bf5f867b43e0475f7f9ac0cd8671fb16f1'/>
<id>1a7529bf5f867b43e0475f7f9ac0cd8671fb16f1</id>
<content type='text'>
https://fedorahosted.org/sssd/ticket/956

Added: --debug-microseconds=0/1
Added: debug_microseconds to sssd.conf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/sssd/ticket/956

Added: --debug-microseconds=0/1
Added: debug_microseconds to sssd.conf
</pre>
</div>
</content>
</entry>
<entry>
<title>New DEBUG facility - SSSDBG_UNRESOLVED changed from -1 to 0</title>
<updated>2011-08-25T19:46:11+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2011-08-03T07:15:52+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=89caf5edcc99f5731e89bd51e6ffaad3ec11c304'/>
<id>89caf5edcc99f5731e89bd51e6ffaad3ec11c304</id>
<content type='text'>
Removed:
    SSS_UNRESOLVED_DEBUG_LEVEL (completely replaced with SSSDBG_UNRESOLVED)

Added new macro:
    CONVERT_AND_SET_DEBUG_LEVEL(new_value)

Changes unresolved debug level value (SSSDBG_UNRESOLVED) from -1 to 0
so DEBUG macro could be reduced by one condition. Anyway, it has a minor
effect, every time you want to load debug_level from command line parameters,
you have to use following pattern:

    /* Set debug level to invalid value so we can deside if -d 0 was used. */
    debug_level = SSSDBG_INVALID;

    pc = poptGetContext(argv[0], argc, argv, long_options, 0);
    while((opt = poptGetNextOpt(pc)) != -1) { ... }

    CONVERT_AND_SET_DEBUG_LEVEL(debug_level);
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removed:
    SSS_UNRESOLVED_DEBUG_LEVEL (completely replaced with SSSDBG_UNRESOLVED)

Added new macro:
    CONVERT_AND_SET_DEBUG_LEVEL(new_value)

Changes unresolved debug level value (SSSDBG_UNRESOLVED) from -1 to 0
so DEBUG macro could be reduced by one condition. Anyway, it has a minor
effect, every time you want to load debug_level from command line parameters,
you have to use following pattern:

    /* Set debug level to invalid value so we can deside if -d 0 was used. */
    debug_level = SSSDBG_INVALID;

    pc = poptGetContext(argv[0], argc, argv, long_options, 0);
    while((opt = poptGetNextOpt(pc)) != -1) { ... }

    CONVERT_AND_SET_DEBUG_LEVEL(debug_level);
</pre>
</div>
</content>
</entry>
<entry>
<title>New DEBUG facility - conversion</title>
<updated>2011-08-25T19:46:11+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2011-08-09T11:01:05+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=99dd40a885ed3d42af4bbbde7ee2fc98830544d0'/>
<id>99dd40a885ed3d42af4bbbde7ee2fc98830544d0</id>
<content type='text'>
https://fedorahosted.org/sssd/ticket/925

Conversion of the old debug_level format to the new one.
(only where it was necessary)

Removed:
  SSS_DEFAULT_DEBUG_LEVEL (completely replaced with SSSDBG_DEFAULT)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/sssd/ticket/925

Conversion of the old debug_level format to the new one.
(only where it was necessary)

Removed:
  SSS_DEFAULT_DEBUG_LEVEL (completely replaced with SSSDBG_DEFAULT)
</pre>
</div>
</content>
</entry>
<entry>
<title>New DEBUG facility - new levels</title>
<updated>2011-08-25T19:46:11+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2011-08-09T08:19:03+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=a32ae272bb0ae0a47ab80d3a2fcc535fd5260754'/>
<id>a32ae272bb0ae0a47ab80d3a2fcc535fd5260754</id>
<content type='text'>
https://fedorahosted.org/sssd/ticket/925

Added functions:
- debug_convert_old_level() to convert levels 0-9 to appropriate bitmask
  debug_convert_old_level(5) returns 0x03F0 (= 0 | 1 | 2 | 3 | 4 | 5)

- debug_get_level() to convert old level number to its new value
  debug_get_level(5) returns 0x0200 (= 5)

There are several new macros in util/util.h:

- SSSDBG_* to reflect a debug level (same names as in the ticket) - please,
  don't use magic numbers anymore
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/sssd/ticket/925

Added functions:
- debug_convert_old_level() to convert levels 0-9 to appropriate bitmask
  debug_convert_old_level(5) returns 0x03F0 (= 0 | 1 | 2 | 3 | 4 | 5)

- debug_get_level() to convert old level number to its new value
  debug_get_level(5) returns 0x0200 (= 5)

There are several new macros in util/util.h:

- SSSDBG_* to reflect a debug level (same names as in the ticket) - please,
  don't use magic numbers anymore
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle errno properly in set_debug_file_from_fd()</title>
<updated>2011-08-15T13:18:19+00:00</updated>
<author>
<name>Jakub Hrozek</name>
<email>jhrozek@redhat.com</email>
</author>
<published>2011-08-12T15:58:07+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=711c9015c3845eb7ff733ea34829c4ecf32d8ab5'/>
<id>711c9015c3845eb7ff733ea34829c4ecf32d8ab5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>debug_timestamps fixes</title>
<updated>2011-08-08T14:23:43+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2011-08-08T09:00:48+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=96ea25cbd9b94d48c57b6173eeda2b3fbe670a70'/>
<id>96ea25cbd9b94d48c57b6173eeda2b3fbe670a70</id>
<content type='text'>
Fixed: could not overwrite debug_timestamps when set in sssd.conf

Fixed: invalid description of debug_timestamps in sssd man page
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed: could not overwrite debug_timestamps when set in sssd.conf

Fixed: invalid description of debug_timestamps in sssd man page
</pre>
</div>
</content>
</entry>
<entry>
<title>Set _GNU_SOURCE globally</title>
<updated>2011-05-23T14:57:44+00:00</updated>
<author>
<name>Sumit Bose</name>
<email>sbose@redhat.com</email>
</author>
<published>2011-05-19T07:58:09+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=324fb26ba803a999bedc29e93c46c84f27abf5b7'/>
<id>324fb26ba803a999bedc29e93c46c84f27abf5b7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow changing the log level without restart</title>
<updated>2011-05-06T14:24:37+00:00</updated>
<author>
<name>Stephen Gallagher</name>
<email>sgallagh@redhat.com</email>
</author>
<published>2011-05-02T17:46:27+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=d818283d39d56204ffe710b6c9b83a2cf497f946'/>
<id>d818283d39d56204ffe710b6c9b83a2cf497f946</id>
<content type='text'>
We will now re-read the confdb debug_level value when processing
the monitor_common_logrotate() function, which occurs when the
monitor receives a SIGHUP.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We will now re-read the confdb debug_level value when processing
the monitor_common_logrotate() function, which occurs when the
monitor receives a SIGHUP.
</pre>
</div>
</content>
</entry>
<entry>
<title>Override config file debug_level with command-line</title>
<updated>2011-05-04T14:14:40+00:00</updated>
<author>
<name>Stephen Gallagher</name>
<email>sgallagh@redhat.com</email>
</author>
<published>2011-04-27T19:28:07+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=d3750f3c3a9e232629c8b634b7b5407114667700'/>
<id>d3750f3c3a9e232629c8b634b7b5407114667700</id>
<content type='text'>
This patch also makes the following changes:
1) The [sssd] debug_level setting no longer acts as a default for
   all other sections.
2) We will now skip passing the debug argument to the child
   processes from the master unless the SSSD was run with a
   command-line argument for the debug level.

https://fedorahosted.org/sssd/ticket/764
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch also makes the following changes:
1) The [sssd] debug_level setting no longer acts as a default for
   all other sections.
2) We will now skip passing the debug argument to the child
   processes from the master unless the SSSD was run with a
   command-line argument for the debug level.

https://fedorahosted.org/sssd/ticket/764
</pre>
</div>
</content>
</entry>
</feed>
