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

logback-spring.xml can't use <springProperty> when using nacos config #2205

Closed
ooooo-youwillsee opened this issue Aug 6, 2021 · 4 comments
Closed

Comments

@ooooo-youwillsee
Copy link

我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。
We recommend using English. If you are non-native English speaker, you can use the translation software.

Which Component
eg. Nacos config

Is your feature request related to a problem? Please describe.

nacos config :

a.b = 1

logback-spring.xml :

<springProperty scope="context" name="x" source="a.b" defaultValue="2"/>

but I get value of 'x' is 2

Describe the solution you'd like

see apollo implementation , ApolloApplicationContextInitializer

@IT-GoldFish
Copy link

Hello, have you solved your problem? I'm in the same situation

@ooooo-youwillsee
Copy link
Author

SpringBoot 2.4+ using configData, nacos implements it using NacosConfigDataLoader, it had solved the problem

Copy link

This issue has been open 30 days with no activity. This will be closed in 7 days.

@github-actions github-actions bot added the stale label Jun 28, 2024
Copy link

github-actions bot commented Jul 6, 2024

This issue has been automatically marked as stale because it hasn't had any recent activity.If you think this should still be open, or the problem still persists, just pop a reply in the comments and one of the maintainers will (try!) to follow up. Thank you for your interest and contribution to the Sping Cloud Alibaba Community.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants