Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a means to report current debug level settings #6019

Closed
traveller42 opened this issue Feb 28, 2022 · 3 comments
Closed

Need a means to report current debug level settings #6019

traveller42 opened this issue Feb 28, 2022 · 3 comments
Assignees
Labels
Closed: Fixed Issue was closed as fixed.

Comments

@traveller42
Copy link

traveller42 commented Feb 28, 2022

I saw this reported a few years ago, but that got pulled into the sssctl consolidation effort, and the ability to set the value was accomplished.

However, I have found no way to reliably determine the current running debug settings.

@alexey-tikhonov
Copy link
Member

Hi,

# grep "Starting with debug level" /var/log/sssd/sssd.log 
(2022-02-28 18:42:25): [sssd] [server_setup] (0x3f7c0): Starting with debug level = 0x2f7f0

It's always there doesn't matter what level is set.

@traveller42
Copy link
Author

Thanks. That did work.

I would have expected sssctl debug-level without a value to set to report the current level.

@aplopez aplopez self-assigned this Mar 14, 2022
aplopez added a commit to aplopez/sssd that referenced this issue Apr 6, 2022
Command sssctl can now also get the current debug level. In addition
it can target specific components. For example:

sssctl debug-level --nss --domain files

will display the current debug level for the component NSS and for
the domain domain/files.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue Apr 21, 2022
In addition to be set, the debug level can now also be gotten.
Moreover, it can be accessed for each component independently.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue Apr 21, 2022
In addition to be set, the debug level can now also be gotten.
Moreover, it can be accessed for each component independently.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue Apr 22, 2022
In addition to be set, the debug level can now also be gotten.
Moreover, it can be accessed for each component independently.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue Apr 22, 2022
In addition to be set, the debug level can now also be gotten.
Moreover, it can be accessed for each component independently.
Also added a test.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue Apr 22, 2022
In addition to be set, the debug level can now also be gotten.
Moreover, it can be accessed for each component independently.
Also added a test.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue Apr 22, 2022
In addition to be set, the debug level can now also be gotten.
Moreover, it can be accessed for each component independently.
Also added a test.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue Apr 25, 2022
In addition to be set, the debug level can now also be gotten.
Moreover, it can be accessed for each component independently.
Also added a test.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 3, 2022
New debug_level property added to the sssd.service interface.
Getter implemented.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 3, 2022
The setter for the recently added property.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 3, 2022
:feature: sssctl is now able to read and set each component's
debug level independently.

Use D-Bus to set/get the debug level.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 3, 2022
New debug_level property added to the sssd.service interface.
Getter implemented.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 3, 2022
The setter for the recently added property.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 3, 2022
:feature: sssctl is now able to read and set each component's
debug level independently.

Use D-Bus to set/get the debug level.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 6, 2022
New debug_level property added to the sssd.service interface.
Getter implemented.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 6, 2022
The setter for the recently added property.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 6, 2022
:feature: sssctl is now able to read and set each component's
debug level independently.

Use D-Bus to set/get the debug level.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 10, 2022
New debug_level property added to the sssd.service interface.
Getter implemented.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 10, 2022
The setter for the recently added property.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 10, 2022
:feature: sssctl is now able to read and set each component's
debug level independently.

Use D-Bus to set/get the debug level.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 11, 2022
New debug_level property added to the sssd.service interface.
Getter implemented.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 11, 2022
The setter for the recently added property.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 11, 2022
:feature: sssctl is now able to read and set each component's
debug level independently.

Use D-Bus to set/get the debug level.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 12, 2022
:feature: sssctl is now able to read and set each component's
debug level independently.

Use D-Bus to set/get the debug level.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 16, 2022
:feature: sssctl is now able to read and set each component's
debug level independently.

Use D-Bus to set/get the debug level.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 16, 2022
New debug_level property added to the sssd.service interface.
Getter implemented.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 16, 2022
The setter for the recently added property.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 16, 2022
:feature: sssctl is now able to read and set each component's
debug level independently.

Use D-Bus to set/get the debug level.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 16, 2022
:feature: sssctl is now able to read and set each component's
debug level independently.

Use D-Bus to set/get the debug level.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 16, 2022
:feature: sssctl is now able to read and set each component's
debug level independently.

Use D-Bus to set/get the debug level.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 16, 2022
New debug_level property added to the sssd.service interface.
Getter implemented.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 16, 2022
The setter for the recently added property.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 16, 2022
:feature: sssctl is now able to read and set each component's
debug level independently.

Use D-Bus to set/get the debug level.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 19, 2022
:feature: sssctl is now able to read and set each component's
debug level independently.

Use D-Bus to set/get the debug level.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 19, 2022
:feature: sssctl is now able to read and set each component's
debug level independently.

Use D-Bus to set/get the debug level.

Resolves: SSSD#6019
aplopez added a commit to aplopez/sssd that referenced this issue May 23, 2022
:feature: sssctl is now able to read and set each component's
debug level independently.

Use D-Bus to set/get the debug level.

Resolves: SSSD#6019
pbrezina pushed a commit that referenced this issue May 25, 2022
The setter for the recently added property.

Resolves: #6019

Reviewed-by: Alexey Tikhonov <atikhono@redhat.com>
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
pbrezina pushed a commit that referenced this issue May 25, 2022
:feature: sssctl is now able to read and set each component's
debug level independently.

Use D-Bus to set/get the debug level.

Resolves: #6019

Reviewed-by: Alexey Tikhonov <atikhono@redhat.com>
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
@pbrezina
Copy link
Member

Pushed PR: #6119

  • master
    • e797447 - sssctl: Get and set per-component debug-level
    • e82135e - sbus: Setter for the debug_level property.
    • a809db9 - sbus: Getter for the debug_level property
    • 97cffab - sss_tools: More flexible sss_tool_popt_ex()
    • 886ff51 - sssctl: free one malloc-allocated variable.

@pbrezina pbrezina added the Closed: Fixed Issue was closed as fixed. label May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed: Fixed Issue was closed as fixed.
Projects
None yet
Development

No branches or pull requests

4 participants