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

[logging] mad/ldap支持独立的logger及log_level #434

Closed
wklken opened this issue May 13, 2022 · 2 comments
Closed

[logging] mad/ldap支持独立的logger及log_level #434

wklken opened this issue May 13, 2022 · 2 comments
Assignees
Labels
Layer: api Api module related Module: LDAP/MAD ldap/mad related Type: enhancement Enhancement for existing feature
Milestone

Comments

@wklken
Copy link
Collaborator

wklken commented May 13, 2022

并且, 默认日志等级debug
背景: 开启ldap同步, 目前由于底层抛出异常无法进一步识别, 不好定位问题

@wklken wklken added Type: enhancement Enhancement for existing feature Layer: api Api module related Module: LDAP/MAD ldap/mad related labels May 13, 2022
@wklken wklken self-assigned this May 13, 2022
@wklken wklken added this to the Y2022M20-21 milestone May 16, 2022
@wklken
Copy link
Collaborator Author

wklken commented May 16, 2022

ldap同步, 默认是debug日志? 默认开启

确保, 同步时, 有详细的报错?


平时也用不上 => 类型为sync的日志?

@wklken
Copy link
Collaborator Author

wklken commented May 17, 2022

容器化版本: 开启api的ldap3调试(注意此时需要同时设置环境变量LOG_LEVEL=DEBUG)

api:
  env:
    - name: "LOG_LEVEL"
      value: "DEBUG"
    - name: "ENABLE_LDAP3_DEBUG"
      value: true

二进制版本: 在执行环境配置这两个环境变量

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Layer: api Api module related Module: LDAP/MAD ldap/mad related Type: enhancement Enhancement for existing feature
Projects
None yet
Development

No branches or pull requests

1 participant