diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2016-04-26 11:04:36 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2016-06-16 13:36:44 +0200 |
commit | 131684b9107a3fc07906013d16b35975531f2864 (patch) | |
tree | 99a7bd6aedf5f55e521ce66cdfe2d645c50cebf4 /src/confdb | |
parent | 60787fb44924e84a0c7ddfe9d5e62e64ea1edcd1 (diff) | |
download | sssd-131684b9107a3fc07906013d16b35975531f2864.tar.gz sssd-131684b9107a3fc07906013d16b35975531f2864.tar.xz sssd-131684b9107a3fc07906013d16b35975531f2864.zip |
DEBUG: Add `debug` alias for debug_level
Our users constantly make the mistake of typing `debug = 9` in the
sssd.conf instead of `debug_level = 9` as would be correct. This
happens frequently-enough that we should just alias it rather than
continue to have people make mistakes.
Resolves:
https://fedorahosted.org/sssd/ticket/2999
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Petr Cech <pcech@redhat.com>
Diffstat (limited to 'src/confdb')
-rw-r--r-- | src/confdb/confdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/confdb/confdb.h b/src/confdb/confdb.h index 3ed82ca0a..0a3d6a035 100644 --- a/src/confdb/confdb.h +++ b/src/confdb/confdb.h @@ -53,6 +53,7 @@ #define CONFDB_SERVICE_PATH_TMPL "config/%s" #define CONFDB_SERVICE_COMMAND "command" #define CONFDB_SERVICE_DEBUG_LEVEL "debug_level" +#define CONFDB_SERVICE_DEBUG_LEVEL_ALIAS "debug" #define CONFDB_SERVICE_DEBUG_TIMESTAMPS "debug_timestamps" #define CONFDB_SERVICE_DEBUG_MICROSECONDS "debug_microseconds" #define CONFDB_SERVICE_DEBUG_TO_FILES "debug_to_files" |