These are chat archives for spring-cloud/spring-cloud

1st
Sep 2017
Grzegorz Poznachowski
@poznachowski
Sep 01 2017 06:36
@marcingrzejszczak siema! thx, działa ;-)
Marcin Grzejszczak
@marcingrzejszczak
Sep 01 2017 07:05
:+1:
RajeevJ1543
@RajeevJ1543
Sep 01 2017 09:35
Hi Everyone,
amitshukla30
@amitshukla30
Sep 01 2017 09:36
Hi
RajeevJ1543
@RajeevJ1543
Sep 01 2017 09:37
How can we read logback. xml file from secure config server? please help
amitshukla30
@amitshukla30
Sep 01 2017 09:39
Hi @dsyer , we have a situation wherein we are trying to get Logback file from Secure File server. We modified the bootstrap.yml file of the application to be like this http://{username}:{password}@config_Server_url/application/profile/master/logback.xml
but it seems not working
Config server is secured using basic authentication
*secure config server
we always get authentication error 401.
Do we have some example project or documentation on its uage?
Dave Syer
@dsyer
Sep 01 2017 09:57
I never saw anyone doing that. The URL is fed to logback by Spring Boot. I doubt it knows about authentication, but you can check I guess.
amitshukla30
@amitshukla30
Sep 01 2017 09:57
hmm ok
do u have any example for the logback loading. We modified logging.config property to point to logback of config server
Dave Syer
@dsyer
Sep 01 2017 09:59
The code is either is Spring Boot or in Logback.
amitshukla30
@amitshukla30
Sep 01 2017 09:59
ahh ok
Dave Syer
@dsyer
Sep 01 2017 09:59
It's all open source, so you can find it as quickly as I can
amitshukla30
@amitshukla30
Sep 01 2017 10:00
thanks Dave
RajeevJ1543
@RajeevJ1543
Sep 01 2017 10:06
Thank you @amitshukla30 and @dsyer