diff options
author | Petr Viktorin <pviktori@redhat.com> | 2012-12-18 06:24:04 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2013-02-01 13:44:55 -0500 |
commit | 55cfd06e3a9cb730220836b07207f4e650de3a03 (patch) | |
tree | 654514235abbf5b44f56b1046074a3f2d01dc179 /make-lint | |
parent | 86dde3a38e801bb88a7d573a2a37ce7201e29e0f (diff) | |
download | freeipa-55cfd06e3a9cb730220836b07207f4e650de3a03.tar.gz freeipa-55cfd06e3a9cb730220836b07207f4e650de3a03.tar.xz freeipa-55cfd06e3a9cb730220836b07207f4e650de3a03.zip |
Better logging for AdminTool and ipa-ldap-updater
- Automatically add a "Logging and output options" group with the --quiet,
--verbose, --log-file options.
- Set up logging based on these options; details are in the setup_logging
docstring and in the design document.
- Don't bind log methods as individual methods of the class. This means one
less linter exception.
- Make the help for command line options consistent with optparse's --help and
--version options.
Design document: http://freeipa.org/page/V3/Logging_and_output
Diffstat (limited to 'make-lint')
-rwxr-xr-x | make-lint | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -59,7 +59,6 @@ class IPATypeChecker(TypeChecker): 'urlparse.ParseResult': ['params'], # IPA classes - 'ipapython.admintool.AdminTool': LOGGING_ATTRS, 'ipalib.base.NameSpace': ['add', 'mod', 'del', 'show', 'find'], 'ipalib.cli.Collector': ['__options'], 'ipalib.config.Env': ['*'], |