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

LOGGER.MODIFY_DESCENDANTS does not do its job #224

Open
GITKELE opened this issue Nov 29, 2022 · 1 comment
Open

LOGGER.MODIFY_DESCENDANTS does not do its job #224

GITKELE opened this issue Nov 29, 2022 · 1 comment
Labels
bug Indicates an unexpected problem or unintended behavior

Comments

@GITKELE
Copy link

GITKELE commented Nov 29, 2022

First of all, thanks for creating such a great utility!
I'm using the latest version, 2022-06-08 1-RC.

To recreate the problem:

  1. Call GET_LOGGER twice to create 2 LOGGERs, i.e. Org.Project1.LOG1 & Org.Project1.LOG2;

  2. CONF_LOGGERS table looks like this:
    LOGGER_ID|NAME|PARENT_ID|LEVEL_ID
    0|ROOT|(null)|3
    1|Org|0|(null)
    2|Project1|1|(null)
    3|LOG1|2|(null)
    4|LOG2|2|(null)

  3. Call MODIFY_DESCENDANTS(2,5);

  4. Nothing is changed in CONF_LOGGERS table.

@angoca angoca added the bug Indicates an unexpected problem or unintended behavior label May 14, 2024
@angoca
Copy link
Owner

angoca commented May 14, 2024

Thank you for reporting the issue.

As you mentionned, this procedure is not updating the descendants under the given conditions.

As an alternative, you can execute call logadmin.register_logger('Org.Project1.LOG1', 5).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants