repo_name
stringclasses
5 values
pr_number
int64
1.52k
15.5k
pr_title
stringlengths
8
143
pr_description
stringlengths
0
10.2k
author
stringlengths
3
18
date_created
timestamp[ns, tz=UTC]
date_merged
timestamp[ns, tz=UTC]
previous_commit
stringlengths
40
40
pr_commit
stringlengths
40
40
query
stringlengths
11
10.2k
filepath
stringlengths
6
220
before_content
stringlengths
0
597M
after_content
stringlengths
0
597M
label
int64
-1
1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./CONTRIBUTING.md
## Contributing to apollo Apollo is released under the non-restrictive Apache 2.0 license, and follows a very standard Github development process, using Github tracker for issues and merging pull requests into master. If you want to contribute even something trivial please do not hesitate, but follow the guidelines be...
## Contributing to apollo Apollo is released under the non-restrictive Apache 2.0 license, and follows a very standard Github development process, using Github tracker for issues and merging pull requests into master. If you want to contribute even something trivial please do not hesitate, but follow the guidelines be...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./docs/zh/usage/java-sdk-user-guide.md
>注意:本文档适用对象是Apollo系统的使用者,如果你是公司内Apollo系统的开发者/维护人员,建议先参考[Apollo开发指南](zh/development/apollo-development-guide)。 #   # 一、准备工作 ## 1.1 环境要求 * Java: 1.7+ * Guava: 15.0+ * Apollo客户端默认会引用Guava 19,如果你的项目引用了其它版本,请确保版本号大于等于15.0 >注:对于Apollo客户端,如果有需要的话,可以做少量代码修改来降级到Java 1.6,详细信息可以参考[Issue 483](https://github.com/ctr...
>注意:本文档适用对象是Apollo系统的使用者,如果你是公司内Apollo系统的开发者/维护人员,建议先参考[Apollo开发指南](zh/development/apollo-development-guide)。 #   # 一、准备工作 ## 1.1 环境要求 * Java: 1.7+ * Guava: 15.0+ * Apollo客户端默认会引用Guava 19,如果你的项目引用了其它版本,请确保版本号大于等于15.0 >注:对于Apollo客户端,如果有需要的话,可以做少量代码修改来降级到Java 1.6,详细信息可以参考[Issue 483](https://github.com/ctr...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./SECURITY.md
# Security Policy ## Reporting a Vulnerability If you have apprehensions regarding Apollo's security or you discover vulnerability or potential threat, don’t hesitate to report it to one of the active [project maintainers](https://github.com/ctripcorp/apollo/graphs/contributors). In the mail, specify the descriptio...
# Security Policy ## Reporting a Vulnerability If you have apprehensions regarding Apollo's security or you discover vulnerability or potential threat, don’t hesitate to report it to one of the active [project maintainers](https://github.com/ctripcorp/apollo/graphs/contributors). In the mail, specify the descriptio...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./docs/en/_sidebar.md
- Getting started - [Quick start](en/quick-start.md) - [Releases](https://github.com/ctripcorp/apollo/releases)
- Getting started - [Quick start](en/quick-start.md) - [Releases](https://github.com/ctripcorp/apollo/releases)
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./docs/zh/faq/common-issues-in-deployment-and-development-phase.md
### 1. windows怎么执行build.sh? 安装[Git Bash](https://git-for-windows.github.io/),然后运行 “./build.sh” 注意前面 “./” ### 2. 本地运行时Portal一直报Env is down. 默认config service启动在8080端口,admin service启动在8090端口。请确认这两个端口是否被其它应用程序占用。 如果还伴有异常信息:org.springframework.web.client.HttpClientErrorException: 405 Method Not Allowed,一般是由于本地启动了`Shadow...
### 1. windows怎么执行build.sh? 安装[Git Bash](https://git-for-windows.github.io/),然后运行 “./build.sh” 注意前面 “./” ### 2. 本地运行时Portal一直报Env is down. 默认config service启动在8080端口,admin service启动在8090端口。请确认这两个端口是否被其它应用程序占用。 如果还伴有异常信息:org.springframework.web.client.HttpClientErrorException: 405 Method Not Allowed,一般是由于本地启动了`Shadow...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./docs/zh/deployment/quick-start-docker.md
如果您对Docker非常熟悉,可以使用Docker的方式快速部署Apollo,从而快速的了解Apollo。如果您对Docker并不是很了解,请参考[常规方式部署Quick Start](zh/deployment/quick-start)。 另外需要说明的是,不管是Docker方式部署Quick Start还是常规方式部署的,Quick Start只是用来快速入门、了解Apollo。如果部署Apollo在公司中使用,请参考[分布式部署指南](zh/deployment/distributed-deployment-guide)。 > 由于Docker对windows的支持并不是很好,所以不建议您在windows环境下使用Dock...
如果您对Docker非常熟悉,可以使用Docker的方式快速部署Apollo,从而快速的了解Apollo。如果您对Docker并不是很了解,请参考[常规方式部署Quick Start](zh/deployment/quick-start)。 另外需要说明的是,不管是Docker方式部署Quick Start还是常规方式部署的,Quick Start只是用来快速入门、了解Apollo。如果部署Apollo在公司中使用,请参考[分布式部署指南](zh/deployment/distributed-deployment-guide)。 > 由于Docker对windows的支持并不是很好,所以不建议您在windows环境下使用Dock...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./.github/ISSUE_TEMPLATE/bug_report_zh.md
--- name: 报告Bug/使用疑问 about: 提交Apollo Bug/使用疑问,使用这个模板 title: '' labels: '' assignees: '' --- <!-- 这段文字不会显示在你的内容中。为了避免重复的信息,方便后续的检索,在提issue之前,请检查如下事项。如果是比较新手级别的问题,推荐到讨论区https://github.com/ctripcorp/apollo/discussions 提问 --> - [ ] 我已经检查过[discussions](https://github.com/ctripcorp/apollo/discussions) - [ ] 我已经搜索过[issues](...
--- name: 报告Bug/使用疑问 about: 提交Apollo Bug/使用疑问,使用这个模板 title: '' labels: '' assignees: '' --- <!-- 这段文字不会显示在你的内容中。为了避免重复的信息,方便后续的检索,在提issue之前,请检查如下事项。如果是比较新手级别的问题,推荐到讨论区https://github.com/ctripcorp/apollo/discussions 提问 --> - [ ] 我已经检查过[discussions](https://github.com/ctripcorp/apollo/discussions) - [ ] 我已经搜索过[issues](...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./docs/zh/usage/apollo-user-guide.md
# &nbsp; # 名词解释 * 普通应用 * 普通应用指的是独立运行的程序,如 * Web应用程序 * 带有main函数的程序 * 公共组件 * 公共组件指的是发布的类库、客户端程序,不会自己独立运行,如 * Java的jar包 * .Net的dll文件 # 一、普通应用接入指南 ## 1.1 创建项目 要使用Apollo,第一步需要创建项目。 1. 打开apollo-portal主页 2. 点击“创建项目” ![create-app-entry](https://raw.githubusercontent.com/ctripcorp/apol...
# &nbsp; # 名词解释 * 普通应用 * 普通应用指的是独立运行的程序,如 * Web应用程序 * 带有main函数的程序 * 公共组件 * 公共组件指的是发布的类库、客户端程序,不会自己独立运行,如 * Java的jar包 * .Net的dll文件 # 一、普通应用接入指南 ## 1.1 创建项目 要使用Apollo,第一步需要创建项目。 1. 打开apollo-portal主页 2. 点击“创建项目” ![create-app-entry](https://raw.githubusercontent.com/ctripcorp/apol...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./docs/en/README.md
English version documentation of Apollo
English version documentation of Apollo
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./docs/zh/faq/faq.md
## 1. Apollo是什么? Apollo(阿波罗)是携程框架部门研发的配置管理平台,能够集中化管理应用不同环境、不同集群的配置,配置修改后能够实时推送到应用端,并且具备规范的权限、流程治理等特性。 更多介绍,可以参考[Apollo配置中心介绍](zh/design/apollo-introduction) ## 2. Cluster是什么? 一个应用下不同实例的分组,比如典型的可以按照数据中心分,把A机房的应用实例分为一个集群,把B机房的应用实例分为另一个集群。 ## 3. Namespace是什么? 一个应用下不同配置的分组。 请参考[Apollo核心概念之“Namespace”](zh/design/apollo-c...
## 1. Apollo是什么? Apollo(阿波罗)是携程框架部门研发的配置管理平台,能够集中化管理应用不同环境、不同集群的配置,配置修改后能够实时推送到应用端,并且具备规范的权限、流程治理等特性。 更多介绍,可以参考[Apollo配置中心介绍](zh/design/apollo-introduction) ## 2. Cluster是什么? 一个应用下不同实例的分组,比如典型的可以按照数据中心分,把A机房的应用实例分为一个集群,把B机房的应用实例分为另一个集群。 ## 3. Namespace是什么? 一个应用下不同配置的分组。 请参考[Apollo核心概念之“Namespace”](zh/design/apollo-c...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./docs/zh/usage/dotnet-sdk-user-guide.md
>注意:本文档适用对象是Apollo系统的使用者,如果你是公司内Apollo系统的开发者/维护人员,建议先参考[Apollo开发指南](zh/development/apollo-development-guide)。 # &nbsp; # 一、准备工作 ## 1.1 环境要求 * .Net: 4.0+ ## 1.2 必选设置 Apollo客户端依赖于`AppId`,`Environment`等环境信息来工作,所以请确保阅读下面的说明并且做正确的配置: ### 1.2.1 AppId AppId是应用的身份信息,是从服务端获取配置的一个重要信息。 请确保在app.config或web.config有AppID的...
>注意:本文档适用对象是Apollo系统的使用者,如果你是公司内Apollo系统的开发者/维护人员,建议先参考[Apollo开发指南](zh/development/apollo-development-guide)。 # &nbsp; # 一、准备工作 ## 1.1 环境要求 * .Net: 4.0+ ## 1.2 必选设置 Apollo客户端依赖于`AppId`,`Environment`等环境信息来工作,所以请确保阅读下面的说明并且做正确的配置: ### 1.2.1 AppId AppId是应用的身份信息,是从服务端获取配置的一个重要信息。 请确保在app.config或web.config有AppID的...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./.github/ISSUE_TEMPLATE/feature_request_en.md
--- name: Feature request about: Suggest an idea for this project title: '' labels: '' assignees: '' --- **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd like** A clear and con...
--- name: Feature request about: Suggest an idea for this project title: '' labels: '' assignees: '' --- **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd like** A clear and con...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./docs/_coverpage.md
<img src="https://raw.githubusercontent.com/ctripcorp/apollo/master/doc/images/logo/logo-simple.png" alt="apollo-logo" width="30%"> > A reliable configuration management system - Multiple environments and clusters support - Configuration changes take effect in real time - Versioned and grayscale releases management -...
<img src="https://raw.githubusercontent.com/ctripcorp/apollo/master/doc/images/logo/logo-simple.png" alt="apollo-logo" width="30%"> > A reliable configuration management system - Multiple environments and clusters support - Configuration changes take effect in real time - Versioned and grayscale releases management -...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./docs/zh/misc/apollo-benchmark.md
很多同学关心Apollo的性能和可靠性,以下数据是采集携程内部生产环境单台机器的数据。监控工具是[Cat](https://github.com/dianping/cat)。 ### 一、测试机器配置 #### 1.1 机器配置 4C12G #### 1.2 JVM参数 ```` -Xms6144m -Xmx6144m -Xss256k -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=384m -XX:NewSize=4096m -XX:MaxNewSize=4096m -XX:SurvivorRatio=8 -XX:+UseParNewGC -XX:ParallelGCThreads=...
很多同学关心Apollo的性能和可靠性,以下数据是采集携程内部生产环境单台机器的数据。监控工具是[Cat](https://github.com/dianping/cat)。 ### 一、测试机器配置 #### 1.1 机器配置 4C12G #### 1.2 JVM参数 ```` -Xms6144m -Xmx6144m -Xss256k -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=384m -XX:NewSize=4096m -XX:MaxNewSize=4096m -XX:SurvivorRatio=8 -XX:+UseParNewGC -XX:ParallelGCThreads=...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./docs/zh/usage/third-party-sdks-user-guide.md
## 1. Go ### Apollo Go 客户端 1 项目地址:[zouyx/agollo](https://github.com/zouyx/agollo) > 非常感谢网友@zouyx提供Go Apollo客户端的支持 ### Apollo Go 客户端 2 项目地址:[philchia/agollo](https://github.com/philchia/agollo) > 非常感谢网友@philchia提供Go Apollo客户端的支持 ### Apollo Go 客户端 3 项目地址:[shima-park/agollo](https://github.com/shima-park/agollo) > 非常...
## 1. Go ### Apollo Go 客户端 1 项目地址:[zouyx/agollo](https://github.com/zouyx/agollo) > 非常感谢网友@zouyx提供Go Apollo客户端的支持 ### Apollo Go 客户端 2 项目地址:[philchia/agollo](https://github.com/philchia/agollo) > 非常感谢网友@philchia提供Go Apollo客户端的支持 ### Apollo Go 客户端 3 项目地址:[shima-park/agollo](https://github.com/shima-park/agollo) > 非常...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./docs/zh/development/email-template-samples.md
在配置发布时候,可以发布信息邮件通知到相关的负责人,具体接入方式请参考[Apollo开发指南-3.2 Portal接入邮件服务](zh/development/apollo-development-guide#_32-portal接入邮件服务)。 以下为发布邮件和回滚邮件的模板内容样式,邮件模板为html格式,发送html格式的邮件时,可能需要做一些额外的处理,取决于每个公司的邮件服务实现。为了减少字符数,模板经过了压缩处理,可自行格式化提高可读性。 ## email.template.framework ```html <html><head><style type="text/css">.table{width:100%;...
在配置发布时候,可以发布信息邮件通知到相关的负责人,具体接入方式请参考[Apollo开发指南-3.2 Portal接入邮件服务](zh/development/apollo-development-guide#_32-portal接入邮件服务)。 以下为发布邮件和回滚邮件的模板内容样式,邮件模板为html格式,发送html格式的邮件时,可能需要做一些额外的处理,取决于每个公司的邮件服务实现。为了减少字符数,模板经过了压缩处理,可自行格式化提高可读性。 ## email.template.framework ```html <html><head><style type="text/css">.table{width:100%;...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./apollo-core/src/main/java/com/ctrip/framework/foundation/Foundation.java
package com.ctrip.framework.foundation; import com.ctrip.framework.foundation.internals.NullProviderManager; import com.ctrip.framework.foundation.internals.ServiceBootstrap; import com.ctrip.framework.foundation.spi.ProviderManager; import com.ctrip.framework.foundation.spi.provider.ApplicationProvider; import com.ct...
package com.ctrip.framework.foundation; import com.ctrip.framework.foundation.internals.NullProviderManager; import com.ctrip.framework.foundation.internals.ServiceBootstrap; import com.ctrip.framework.foundation.spi.ProviderManager; import com.ctrip.framework.foundation.spi.provider.ApplicationProvider; import com.ct...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./apollo-core/src/test/java/com/ctrip/framework/apollo/core/signature/HmacSha1UtilsTest.java
package com.ctrip.framework.apollo.core.signature; import static org.junit.Assert.assertEquals; import org.junit.Test; /** * @author nisiyong */ public class HmacSha1UtilsTest { @Test public void testSignString() { String stringToSign = "1576478257344\n/configs/100004458/default/application?ip=10.0.0.1"; ...
package com.ctrip.framework.apollo.core.signature; import static org.junit.Assert.assertEquals; import org.junit.Test; /** * @author nisiyong */ public class HmacSha1UtilsTest { @Test public void testSignString() { String stringToSign = "1576478257344\n/configs/100004458/default/application?ip=10.0.0.1"; ...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./scripts/helm/apollo-service/Chart.yaml
apiVersion: v2 name: apollo-service description: A Helm chart for Apollo Config Service and Apollo Admin Service type: application version: 0.2.0 appVersion: 1.8.0-SNAPSHOT home: https://github.com/ctripcorp/apollo icon: https://raw.githubusercontent.com/ctripcorp/apollo/master/apollo-portal/src/main/resources/static/i...
apiVersion: v2 name: apollo-service description: A Helm chart for Apollo Config Service and Apollo Admin Service type: application version: 0.2.0 appVersion: 1.8.0-SNAPSHOT home: https://github.com/ctripcorp/apollo icon: https://raw.githubusercontent.com/ctripcorp/apollo/master/apollo-portal/src/main/resources/static/i...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./apollo-portal/src/main/resources/static/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf
pFFTMm*GDEFD OS/2gk8`cmapڭrcvt ( gaspglyf}]oheadM/6hhea D$hmtx `tlocao0maxpj name,post5 webfTPT=vuvs Z 2UKWN@ ...
pFFTMm*GDEFD OS/2gk8`cmapڭrcvt ( gaspglyf}]oheadM/6hhea D$hmtx `tlocao0maxpj name,post5 webfTPT=vuvs Z 2UKWN@ ...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./apollo-openapi/src/test/java/com/ctrip/framework/apollo/openapi/client/service/ReleaseOpenApiServiceTest.java
package com.ctrip.framework.apollo.openapi.client.service; import static org.junit.Assert.*; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import com.ctrip.framework.apollo.openapi.dto.NamespaceReleaseDTO; import org.apache.http.client.metho...
package com.ctrip.framework.apollo.openapi.client.service; import static org.junit.Assert.*; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import com.ctrip.framework.apollo.openapi.dto.NamespaceReleaseDTO; import org.apache.http.client.metho...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/GrayReleaseRule.java
package com.ctrip.framework.apollo.biz.entity; import com.ctrip.framework.apollo.common.entity.BaseEntity; import org.hibernate.annotations.SQLDelete; import org.hibernate.annotations.Where; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; @Entity @Table(name = "Gray...
package com.ctrip.framework.apollo.biz.entity; import com.ctrip.framework.apollo.common.entity.BaseEntity; import org.hibernate.annotations.SQLDelete; import org.hibernate.annotations.Where; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; @Entity @Table(name = "Gray...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./apollo-client/src/test/resources/yaml/case8.yaml
,
,
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/emailbuilder/GrayPublishEmailBuilder.java
package com.ctrip.framework.apollo.portal.component.emailbuilder; import com.google.common.base.Joiner; import com.google.gson.Gson; import com.ctrip.framework.apollo.common.constants.GsonType; import com.ctrip.framework.apollo.common.dto.GrayReleaseRuleItemDTO; import com.ctrip.framework.apollo.portal.environment.En...
package com.ctrip.framework.apollo.portal.component.emailbuilder; import com.google.common.base.Joiner; import com.google.gson.Gson; import com.ctrip.framework.apollo.common.constants.GsonType; import com.ctrip.framework.apollo.common.dto.GrayReleaseRuleItemDTO; import com.ctrip.framework.apollo.portal.environment.En...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./apollo-portal/src/test/resources/sql/permission/insert-test-roles.sql
INSERT INTO `role` (`Id`, `RoleName`) VALUES (990, 'someRoleName'); INSERT INTO `role` (`Id`, `RoleName`) VALUES (991, 'anotherRoleName');
INSERT INTO `role` (`Id`, `RoleName`) VALUES (990, 'someRoleName'); INSERT INTO `role` (`Id`, `RoleName`) VALUES (991, 'anotherRoleName');
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./.git/logs/refs/remotes/origin/HEAD
0000000000000000000000000000000000000000 6657a58831a544606f78177b61d92bb959ccce94 jupyter <jupyter@data-collection2-susnato.c.rishabh-experiments.internal> 1704839356 +0000 clone: from https://github.com/apolloconfig/apollo.git
0000000000000000000000000000000000000000 6657a58831a544606f78177b61d92bb959ccce94 jupyter <jupyter@data-collection2-susnato.c.rishabh-experiments.internal> 1704839356 +0000 clone: from https://github.com/apolloconfig/apollo.git
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/PrivilegeRepository.java
package com.ctrip.framework.apollo.biz.repository; import com.ctrip.framework.apollo.biz.entity.Privilege; import org.springframework.data.repository.PagingAndSortingRepository; import java.util.List; public interface PrivilegeRepository extends PagingAndSortingRepository<Privilege, Long> { List<Privilege> findB...
package com.ctrip.framework.apollo.biz.repository; import com.ctrip.framework.apollo.biz.entity.Privilege; import org.springframework.data.repository.PagingAndSortingRepository; import java.util.List; public interface PrivilegeRepository extends PagingAndSortingRepository<Privilege, Long> { List<Privilege> findB...
-1
apolloconfig/apollo
3,489
doc update
## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull reques...
nobodyiam
2021-01-10T09:40:04Z
2021-01-10T09:40:32Z
dbe243dec3b56d398c0627add53b5ec2c0ac92cb
b4188031befb158dc9f3b37bcec08af3663e8522
doc update. ## What's the purpose of this PR add known users and adjust sidebar Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a...
./apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/ClusterDTO.java
package com.ctrip.framework.apollo.common.dto; import com.ctrip.framework.apollo.common.utils.InputValidator; import javax.validation.constraints.NotBlank; import javax.validation.constraints.Pattern; public class ClusterDTO extends BaseDTO{ private long id; @NotBlank(message = "cluster name cannot be blank") ...
package com.ctrip.framework.apollo.common.dto; import com.ctrip.framework.apollo.common.utils.InputValidator; import javax.validation.constraints.NotBlank; import javax.validation.constraints.Pattern; public class ClusterDTO extends BaseDTO{ private long id; @NotBlank(message = "cluster name cannot be blank") ...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./.github/workflows/build.yml
# This workflow will build a Java project with Maven # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven name: build on: push: branches: [ master ] paths-ignore: [ '**/*.md' ] pull_request: branches: [ master ] paths-ignore...
# This workflow will build a Java project with Maven # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven name: build on: push: branches: [ master ] paths-ignore: [ '**/*.md' ] pull_request: branches: [ master ] paths-ignore...
1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-adminservice/pom.xml
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>com.ctrip.framework.apollo</groupId> <artifactId>apoll...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>com.ctrip.framework.apollo</groupId> <artifactId>apoll...
1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-adminservice/src/main/config/apollo-adminservice.conf
MODE=service PID_FOLDER=. LOG_FOLDER=/opt/logs/100003172/
MODE=service PID_FOLDER=. # console appender log file folder LOG_FOLDER=/opt/logs/100003172/ # console appender file name LOG_FILENAME=console.log # write application logs only to file appender export LOG_APPENDERS=FILE
1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-adminservice/src/main/resources/logback.xml
<?xml version="1.0" encoding="UTF-8"?> <configuration> <include resource="org/springframework/boot/logging/logback/defaults.xml" /> <property name="LOG_FILE" value="${LOG_FILE:-${LOG_PATH:-${LOG_TEMP:-${java.io.tmpdir:-/tmp}}/}apollo-adminservice.log}" /> <include resource="org/springframework/boot/logging/logback...
<?xml version="1.0" encoding="UTF-8"?> <configuration> <include resource="org/springframework/boot/logging/logback/defaults.xml" /> <property name="LOG_FILE" value="${LOG_FILE:-${LOG_PATH:-${LOG_TEMP:-${java.io.tmpdir:-/tmp}}/}apollo-adminservice.log}" /> <include resource="org/springframework/boot/logging/logback...
1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-adminservice/src/main/scripts/shutdown.sh
#!/bin/bash SERVICE_NAME=apollo-adminservice if [[ -z "$JAVA_HOME" && -d /usr/java/latest/ ]]; then export JAVA_HOME=/usr/java/latest/ fi cd `dirname $0`/.. if [[ ! -f $SERVICE_NAME".jar" && -d current ]]; then cd current fi if [[ -f $SERVICE_NAME".jar" ]]; then chmod a+x $SERVICE_NAME".jar" ./$SERVICE_...
#!/bin/bash SERVICE_NAME=apollo-adminservice export APP_NAME=$SERVICE_NAME if [[ -z "$JAVA_HOME" && -d /usr/java/latest/ ]]; then export JAVA_HOME=/usr/java/latest/ fi cd `dirname $0`/.. if [[ ! -f $SERVICE_NAME".jar" && -d current ]]; then cd current fi if [[ -f $SERVICE_NAME".jar" ]]; then chmod a+x $SE...
1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-adminservice/src/main/scripts/startup.sh
#!/bin/bash SERVICE_NAME=apollo-adminservice ## Adjust log dir if necessary LOG_DIR=/opt/logs/100003172 ## Adjust server port if necessary SERVER_PORT=${SERVER_PORT:=8090} ## Create log directory if not existed because JDK 8+ won't do that mkdir -p $LOG_DIR ## Adjust memory settings if necessary #export JAVA_OPTS="-X...
#!/bin/bash SERVICE_NAME=apollo-adminservice ## Adjust log dir if necessary LOG_DIR=/opt/logs/100003172 ## Adjust server port if necessary SERVER_PORT=${SERVER_PORT:=8090} ## Create log directory if not existed because JDK 8+ won't do that mkdir -p $LOG_DIR ## Adjust memory settings if necessary #export JAVA_OPTS="-X...
1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-assembly/pom.xml
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>com.ctrip.framework.apollo</groupId> <artifactId>apoll...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>com.ctrip.framework.apollo</groupId> <artifactId>apoll...
1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-assembly/src/main/resources/logback.xml
<?xml version="1.0" encoding="UTF-8"?> <configuration> <include resource="org/springframework/boot/logging/logback/defaults.xml" /> <property name="LOG_FILE" value="${LOG_FILE:-${LOG_PATH:-${LOG_TEMP:-${java.io.tmpdir:-/tmp}}/}apollo-assembly.log}" /> <include resource="org/springframework/boot/logging/logback/fil...
<?xml version="1.0" encoding="UTF-8"?> <configuration> <include resource="org/springframework/boot/logging/logback/defaults.xml" /> <property name="LOG_FILE" value="${LOG_FILE:-${LOG_PATH:-${LOG_TEMP:-${java.io.tmpdir:-/tmp}}/}apollo-assembly.log}" /> <include resource="org/springframework/boot/logging/logback/fil...
1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-common/pom.xml
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>com.ctrip.framework.apollo</groupId> ...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>com.ctrip.framework.apollo</groupId> ...
1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-configservice/pom.xml
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>com.ctrip.framework.apollo</groupId> <artifactId>apoll...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>com.ctrip.framework.apollo</groupId> <artifactId>apoll...
1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-configservice/src/main/config/apollo-configservice.conf
MODE=service PID_FOLDER=. LOG_FOLDER=/opt/logs/100003171/
MODE=service PID_FOLDER=. # console appender log file folder LOG_FOLDER=/opt/logs/100003171/ # console appender log file name LOG_FILENAME=console.log # write application logs only to file appender export LOG_APPENDERS=FILE
1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-configservice/src/main/resources/logback.xml
<?xml version="1.0" encoding="UTF-8"?> <configuration> <include resource="org/springframework/boot/logging/logback/defaults.xml" /> <property name="LOG_FILE" value="${LOG_FILE:-${LOG_PATH:-${LOG_TEMP:-${java.io.tmpdir:-/tmp}}/}apollo-configservice.log}" /> <include resource="org/springframework/boot/logging/logbac...
<?xml version="1.0" encoding="UTF-8"?> <configuration> <include resource="org/springframework/boot/logging/logback/defaults.xml" /> <property name="LOG_FILE" value="${LOG_FILE:-${LOG_PATH:-${LOG_TEMP:-${java.io.tmpdir:-/tmp}}/}apollo-configservice.log}" /> <include resource="org/springframework/boot/logging/logbac...
1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-configservice/src/main/scripts/shutdown.sh
#!/bin/bash SERVICE_NAME=apollo-configservice if [[ -z "$JAVA_HOME" && -d /usr/java/latest/ ]]; then export JAVA_HOME=/usr/java/latest/ fi cd `dirname $0`/.. if [[ ! -f $SERVICE_NAME".jar" && -d current ]]; then cd current fi if [[ -f $SERVICE_NAME".jar" ]]; then chmod a+x $SERVICE_NAME".jar" ./$SERVICE...
#!/bin/bash SERVICE_NAME=apollo-configservice export APP_NAME=$SERVICE_NAME if [[ -z "$JAVA_HOME" && -d /usr/java/latest/ ]]; then export JAVA_HOME=/usr/java/latest/ fi cd `dirname $0`/.. if [[ ! -f $SERVICE_NAME".jar" && -d current ]]; then cd current fi if [[ -f $SERVICE_NAME".jar" ]]; then chmod a+x $S...
1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-configservice/src/main/scripts/startup.sh
#!/bin/bash SERVICE_NAME=apollo-configservice ## Adjust log dir if necessary LOG_DIR=/opt/logs/100003171 ## Adjust server port if necessary SERVER_PORT=${SERVER_PORT:=8080} ## Create log directory if not existed because JDK 8+ won't do that mkdir -p $LOG_DIR ## Adjust memory settings if necessary #export JAVA_OPTS="-...
#!/bin/bash SERVICE_NAME=apollo-configservice ## Adjust log dir if necessary LOG_DIR=/opt/logs/100003171 ## Adjust server port if necessary SERVER_PORT=${SERVER_PORT:=8080} ## Create log directory if not existed because JDK 8+ won't do that mkdir -p $LOG_DIR ## Adjust memory settings if necessary #export JAVA_OPTS="-...
1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-portal/pom.xml
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>com.ctrip.framework.apollo</groupId> <artifactId>apoll...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>com.ctrip.framework.apollo</groupId> <artifactId>apoll...
1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-portal/src/main/config/apollo-portal.conf
MODE=service PID_FOLDER=. LOG_FOLDER=/opt/logs/100003173/
MODE=service PID_FOLDER=. # console appender log file folder LOG_FOLDER=/opt/logs/100003173/ # console appender log file name LOG_FILENAME=console.log # write application logs only to file appender export LOG_APPENDERS=FILE
1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-portal/src/main/resources/logback.xml
<?xml version="1.0" encoding="UTF-8"?> <configuration> <include resource="org/springframework/boot/logging/logback/defaults.xml" /> <property name="LOG_FILE" value="${LOG_FILE:-${LOG_PATH:-${LOG_TEMP:-${java.io.tmpdir:-/tmp}}/}apollo-portal.log}" /> <include resource="org/springframework/boot/logging/logback/file-...
<?xml version="1.0" encoding="UTF-8"?> <configuration> <include resource="org/springframework/boot/logging/logback/defaults.xml" /> <property name="LOG_FILE" value="${LOG_FILE:-${LOG_PATH:-${LOG_TEMP:-${java.io.tmpdir:-/tmp}}/}apollo-portal.log}" /> <include resource="org/springframework/boot/logging/logback/file-...
1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-portal/src/main/scripts/shutdown.sh
#!/bin/bash SERVICE_NAME=apollo-portal if [[ -z "$JAVA_HOME" && -d /usr/java/latest/ ]]; then export JAVA_HOME=/usr/java/latest/ fi cd `dirname $0`/.. if [[ ! -f $SERVICE_NAME".jar" && -d current ]]; then cd current fi if [[ -f $SERVICE_NAME".jar" ]]; then chmod a+x $SERVICE_NAME".jar" ./$SERVICE_NAME"....
#!/bin/bash SERVICE_NAME=apollo-portal export APP_NAME=$SERVICE_NAME if [[ -z "$JAVA_HOME" && -d /usr/java/latest/ ]]; then export JAVA_HOME=/usr/java/latest/ fi cd `dirname $0`/.. if [[ ! -f $SERVICE_NAME".jar" && -d current ]]; then cd current fi if [[ -f $SERVICE_NAME".jar" ]]; then chmod a+x $SERVICE_...
1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-portal/src/main/scripts/startup.sh
#!/bin/bash SERVICE_NAME=apollo-portal ## Adjust log dir if necessary LOG_DIR=/opt/logs/100003173 ## Adjust server port if necessary SERVER_PORT=${SERVER_PORT:=8070} ## Create log directory if not existed because JDK 8+ won't do that mkdir -p $LOG_DIR ## Adjust memory settings if necessary #export JAVA_OPTS="-Xms2560...
#!/bin/bash SERVICE_NAME=apollo-portal ## Adjust log dir if necessary LOG_DIR=/opt/logs/100003173 ## Adjust server port if necessary SERVER_PORT=${SERVER_PORT:=8070} ## Create log directory if not existed because JDK 8+ won't do that mkdir -p $LOG_DIR ## Adjust memory settings if necessary #export JAVA_OPTS="-Xms2560...
1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./pom.xml
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.ctrip.framework.apollo</gro...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.ctrip.framework.apollo</gro...
1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-portal/src/main/resources/application.yml
spring: application: name: apollo-portal profiles: active: ${apollo_profile} jpa: properties: hibernate: query: plan_cache_max_size: 192 # limit query plan cache max size server: port: 8070 compression: enabled: true tomcat: use-relative-redirects: true logging:...
spring: application: name: apollo-portal profiles: active: ${apollo_profile} jpa: properties: hibernate: query: plan_cache_max_size: 192 # limit query plan cache max size server: port: 8070 compression: enabled: true tomcat: use-relative-redirects: true logging:...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./scripts/apollo-on-kubernetes/kubernetes/kubectl-apply.sh
# create namespace kubectl create namespace sre # dev-env kubectl apply -f apollo-env-dev/service-mysql-for-apollo-dev-env.yaml --record && \ kubectl apply -f apollo-env-dev/service-apollo-config-server-dev.yaml --record && \ kubectl apply -f apollo-env-dev/service-apollo-admin-server-dev.yaml --record # fat-env(test...
# create namespace kubectl create namespace sre # dev-env kubectl apply -f apollo-env-dev/service-mysql-for-apollo-dev-env.yaml --record && \ kubectl apply -f apollo-env-dev/service-apollo-config-server-dev.yaml --record && \ kubectl apply -f apollo-env-dev/service-apollo-admin-server-dev.yaml --record # fat-env(test...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-demo/src/main/resources/log4j2.xml
<?xml version="1.0" encoding="UTF-8"?> <configuration monitorInterval="60"> <appenders> <Console name="Console" target="SYSTEM_OUT"> <PatternLayout pattern="[apollo-demo][%t]%d %-5p [%c] %m%n"/> </Console> <Async name="Async" includeLocation="true"> <AppenderRef ref="Console"/> </Async> ...
<?xml version="1.0" encoding="UTF-8"?> <configuration monitorInterval="60"> <appenders> <Console name="Console" target="SYSTEM_OUT"> <PatternLayout pattern="[apollo-demo][%t]%d %-5p [%c] %m%n"/> </Console> <Async name="Async" includeLocation="true"> <AppenderRef ref="Console"/> </Async> ...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-adminservice/src/main/resources/application.yml
spring: application: name: apollo-adminservice profiles: active: ${apollo_profile} ctrip: appid: 100003172 server: port: 8090 logging: file: /opt/logs/100003172/apollo-adminservice.log
spring: application: name: apollo-adminservice profiles: active: ${apollo_profile} ctrip: appid: 100003172 server: port: 8090 logging: file: /opt/logs/100003172/apollo-adminservice.log
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-portal/src/assembly/assembly-descriptor.xml
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> <id>apollo-assembly</id> <formats> ...
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> <id>apollo-assembly</id> <formats> ...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-client/src/test/resources/spring/yaml/resolve.from.self.yml
# value must as same as file name i.can.resolve.from.self: resolve.from.self.yml
# value must as same as file name i.can.resolve.from.self: resolve.from.self.yml
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-client/src/test/resources/spring/XmlConfigPlaceholderTest6.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-adminservice/src/main/resources/bootstrap.yml
eureka: instance: hostname: ${hostname:localhost} preferIpAddress: true status-page-url-path: /info health-check-url-path: /health client: serviceUrl: # This setting will be overridden by eureka.service.url setting from ApolloConfigDB.ServerConfig or System Property # see com.ctrip.f...
eureka: instance: hostname: ${hostname:localhost} preferIpAddress: true status-page-url-path: /info health-check-url-path: /health client: serviceUrl: # This setting will be overridden by eureka.service.url setting from ApolloConfigDB.ServerConfig or System Property # see com.ctrip.f...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-client/src/test/resources/spring/yaml/case8.yml
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-portal/src/main/resources/application-ctrip.yml
ctrip: appid: 100003173 email: send: code: 37030033 template: id: 37030033 survival: duration: 5
ctrip: appid: 100003173 email: send: code: 37030033 template: id: 37030033 survival: duration: 5
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./scripts/apollo-on-kubernetes/apollo-admin-server/apollo-adminservice.conf
MODE=service PID_FOLDER=. LOG_FOLDER=/opt/logs/apollo-admin-server
MODE=service PID_FOLDER=. LOG_FOLDER=/opt/logs/apollo-admin-server
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-demo/src/main/resources/application.yml
apollo: bootstrap: enabled: true # will inject 'application' and 'TEST1.apollo' namespaces in bootstrap phase namespaces: application,TEST1.apollo,application.yaml
apollo: bootstrap: enabled: true # will inject 'application' and 'TEST1.apollo' namespaces in bootstrap phase namespaces: application,TEST1.apollo,application.yaml
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-mockserver/pom.xml
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <artifactId>apollo</artifactId> <groupId>com.ctrip.fr...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <artifactId>apollo</artifactId> <groupId>com.ctrip.fr...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-client/src/test/resources/log4j2.xml
<?xml version="1.0" encoding="UTF-8"?> <configuration monitorInterval="60"> <appenders> <Console name="Console" target="SYSTEM_OUT"> <PatternLayout pattern="[apollo-client][%t]%d %-5p [%c] %m%n"/> </Console> <Async name="Async" includeLocation="true"> <AppenderRef ref...
<?xml version="1.0" encoding="UTF-8"?> <configuration monitorInterval="60"> <appenders> <Console name="Console" target="SYSTEM_OUT"> <PatternLayout pattern="[apollo-client][%t]%d %-5p [%c] %m%n"/> </Console> <Async name="Async" includeLocation="true"> <AppenderRef ref...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-demo/src/main/resources/spring.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://w...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://w...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-buildtools/src/main/scripts/deploy_jenkins.sh
#!/bin/bash set -e set -u cd `dirname $0` if [ $# -lt 1 ];then echo "usage: `basename $0` 100003171|100003172|100003173" exit 1 fi valid_app=false for supported_app in 100003171 100003172 100003173 ;do if [ $1 == $supported_app ];then valid_app=true break; fi done if [ $valid_app == false ];then echo "$1 i...
#!/bin/bash set -e set -u cd `dirname $0` if [ $# -lt 1 ];then echo "usage: `basename $0` 100003171|100003172|100003173" exit 1 fi valid_app=false for supported_app in 100003171 100003172 100003173 ;do if [ $1 == $supported_app ];then valid_app=true break; fi done if [ $valid_app == false ];then echo "$1 i...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-client/src/test/resources/spring/XmlConfigPlaceholderTest3.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-client/src/test/resources/spring/XmlConfigPlaceholderTest8.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-core/pom.xml
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>com.ctrip.framework.apollo</groupId> <artifactId>apoll...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>com.ctrip.framework.apollo</groupId> <artifactId>apoll...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-portal/src/test/resources/application.yml
server: port: 8070 spring: application: name: apollo-portal logging: level: org.springframework.cloud: 'DEBUG' file: /opt/logs/100003173/apollo-portal.log apollo: portal: envs: local management: health: status: order: DOWN, OUT_OF_SERVICE, UNKNOWN, UP
server: port: 8070 spring: application: name: apollo-portal logging: level: org.springframework.cloud: 'DEBUG' file: /opt/logs/100003173/apollo-portal.log apollo: portal: envs: local management: health: status: order: DOWN, OUT_OF_SERVICE, UNKNOWN, UP
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-core/src/test/resources/log4j2.xml
<?xml version="1.0" encoding="UTF-8"?> <configuration monitorInterval="60"> <appenders> <Console name="Console" target="SYSTEM_OUT"> <PatternLayout pattern="[apollo-client][%t]%d %-5p [%c] %m%n"/> </Console> <Async name="Async" includeLocation="true"> <AppenderRef ref...
<?xml version="1.0" encoding="UTF-8"?> <configuration monitorInterval="60"> <appenders> <Console name="Console" target="SYSTEM_OUT"> <PatternLayout pattern="[apollo-client][%t]%d %-5p [%c] %m%n"/> </Console> <Async name="Async" includeLocation="true"> <AppenderRef ref...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-buildtools/style/eclipse-java-google-style.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <profiles version="13"> <profile kind="CodeFormatterProfile" name="GoogleStyle" version="13"> <setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/> <setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@f...
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <profiles version="13"> <profile kind="CodeFormatterProfile" name="GoogleStyle" version="13"> <setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/> <setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@f...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-adminservice/src/test/resources/logback-test.xml
<?xml version="1.0" encoding="UTF-8"?> <configuration scan="true"> <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <charset>utf-8</charset> <Pattern>[%p] %c - %m%n</Pattern> </encoder> </appender> <logger name="org.springframework.test" level="OFF" /> <root level="WARN"> ...
<?xml version="1.0" encoding="UTF-8"?> <configuration scan="true"> <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <charset>utf-8</charset> <Pattern>[%p] %c - %m%n</Pattern> </encoder> </appender> <logger name="org.springframework.test" level="OFF" /> <root level="WARN"> ...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-client/src/test/resources/spring/XmlConfigPlaceholderTest9.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.o...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.o...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-buildtools/src/main/resources/google_checks.xml
<?xml version="1.0"?> <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> <!-- Checkstyle configuration that checks the Google coding conventions from Google Java Style that can be found at https://google.github.i...
<?xml version="1.0"?> <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> <!-- Checkstyle configuration that checks the Google coding conventions from Google Java Style that can be found at https://google.github.i...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-client/src/test/resources/spring/XmlConfigPlaceholderTest11.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-adminservice/src/test/resources/application.yml
spring: application: name: apollo-adminservice server: port: ${port:8090} logging: level: org.springframework.cloud: 'DEBUG' file: /opt/logs/${ctrip.appid}/apollo-adminservice.log ctrip: appid: 100003172
spring: application: name: apollo-adminservice server: port: ${port:8090} logging: level: org.springframework.cloud: 'DEBUG' file: /opt/logs/${ctrip.appid}/apollo-adminservice.log ctrip: appid: 100003172
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-assembly/src/test/resources/application.yml
spring: profiles: active: local
spring: profiles: active: local
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-openapi/src/test/resources/log4j2.xml
<?xml version="1.0" encoding="UTF-8"?> <configuration monitorInterval="60"> <appenders> <Console name="Console" target="SYSTEM_OUT"> <PatternLayout pattern="[apollo-open-api][%t]%d %-5p [%c] %m%n"/> </Console> <Async name="Async" includeLocation="true"> <AppenderRef r...
<?xml version="1.0" encoding="UTF-8"?> <configuration monitorInterval="60"> <appenders> <Console name="Console" target="SYSTEM_OUT"> <PatternLayout pattern="[apollo-open-api][%t]%d %-5p [%c] %m%n"/> </Console> <Async name="Async" includeLocation="true"> <AppenderRef r...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-client/src/test/resources/spring/yaml/case2-new.yml
batch: 2001
batch: 2001
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-client/src/test/resources/spring/yaml/case9-new.yml
someKey: anotherValue
someKey: anotherValue
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./.travis.yml
language: java jdk: - openjdk8 notification: email: recipients: - nobodyiam@gmail.com,lepdou@gmail.com on_success: change on_failure: always before_install: - pip install --user codecov install: - mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V before_script: - echo "MAVEN_OP...
language: java jdk: - openjdk8 notification: email: recipients: - nobodyiam@gmail.com,lepdou@gmail.com on_success: change on_failure: always before_install: - pip install --user codecov install: - mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V before_script: - echo "MAVEN_OP...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-portal/src/main/config/application-ldap-activedirectory-sample.yml
# ldap sample for active directory, need to rename this file to application-ldap.yml to make it effective spring: ldap: base: "dc=example,dc=com" username: "admin" # 配置管理员账号,用于搜索、匹配用户 password: "password" searchFilter: "(sAMAccountName={0})" # 用户过滤器,登录的时候用这个过滤器来搜索用户 urls: - "ldap://1.1.1.1:38...
# ldap sample for active directory, need to rename this file to application-ldap.yml to make it effective spring: ldap: base: "dc=example,dc=com" username: "admin" # 配置管理员账号,用于搜索、匹配用户 password: "password" searchFilter: "(sAMAccountName={0})" # 用户过滤器,登录的时候用这个过滤器来搜索用户 urls: - "ldap://1.1.1.1:38...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-client/src/test/resources/spring/yaml/case2.yml
batch: 2000
batch: 2000
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./scripts/docker-quick-start/docker-compose.yml
version: '2' services: apollo-quick-start: image: nobodyiam/apollo-quick-start container_name: apollo-quick-start depends_on: - apollo-db ports: - "8080:8080" - "8070:8070" links: - apollo-db apollo-db: image: mysql:5.7 container_name: apollo-db environment:...
version: '2' services: apollo-quick-start: image: nobodyiam/apollo-quick-start container_name: apollo-quick-start depends_on: - apollo-db ports: - "8080:8080" - "8070:8070" links: - apollo-db apollo-db: image: mysql:5.7 container_name: apollo-db environment:...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-portal/src/main/config/application-ldap-openldap-sample.yml
# ldap sample for open ldap, need to rename this file to application-ldap.yml to make it effective spring: ldap: base: "dc=example,dc=org" username: "cn=admin,dc=example,dc=org" # 配置管理员账号,用于搜索、匹配用户 password: "password" searchFilter: "(uid={0})" # 用户过滤器,登录的时候用这个过滤器来搜索用户 urls: - "ldap://localho...
# ldap sample for open ldap, need to rename this file to application-ldap.yml to make it effective spring: ldap: base: "dc=example,dc=org" username: "cn=admin,dc=example,dc=org" # 配置管理员账号,用于搜索、匹配用户 password: "password" searchFilter: "(uid={0})" # 用户过滤器,登录的时候用这个过滤器来搜索用户 urls: - "ldap://localho...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./scripts/apollo-on-kubernetes/apollo-config-server/apollo-configservice.conf
MODE=service PID_FOLDER=. LOG_FOLDER=/opt/logs/apollo-config-server
MODE=service PID_FOLDER=. LOG_FOLDER=/opt/logs/apollo-config-server
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-client/src/test/resources/spring/XmlConfigAnnotationTest5.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-configservice/src/main/resources/application.yml
spring: application: name: apollo-configservice profiles: active: ${apollo_profile} ctrip: appid: 100003171 server: port: 8080 logging: file: /opt/logs/100003171/apollo-configservice.log
spring: application: name: apollo-configservice profiles: active: ${apollo_profile} ctrip: appid: 100003171 server: port: 8080 logging: file: /opt/logs/100003171/apollo-configservice.log
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-client/src/test/resources/spring/XmlConfigAnnotationTest4.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-client/src/test/resources/spring/XmlConfigPlaceholderTest10.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-client/src/test/resources/spring/yaml/case6.yml
apollo.test.testBean: true
apollo.test.testBean: true
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-client/src/test/resources/spring/yaml/case9.yml
someKey: someValue
someKey: someValue
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./scripts/build.sh
#!/bin/sh # apollo config db info apollo_config_db_url='jdbc:mysql://fill-in-the-correct-server:3306/ApolloConfigDB?characterEncoding=utf8' apollo_config_db_username='FillInCorrectUser' apollo_config_db_password='FillInCorrectPassword' # apollo portal db info apollo_portal_db_url='jdbc:mysql://fill-in-the-correct-ser...
#!/bin/sh # apollo config db info apollo_config_db_url='jdbc:mysql://fill-in-the-correct-server:3306/ApolloConfigDB?characterEncoding=utf8' apollo_config_db_username='FillInCorrectUser' apollo_config_db_password='FillInCorrectPassword' # apollo portal db info apollo_portal_db_url='jdbc:mysql://fill-in-the-correct-ser...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-configservice/src/test/resources/bootstrap.yml
eureka: instance: hostname: ${hostname:localhost} preferIpAddress: true status-page-url-path: /info health-check-url-path: /health client: serviceUrl: defaultZone: http://${eureka.instance.hostname}:8080/eureka/ healthcheck: enabled: true management: health: status: ...
eureka: instance: hostname: ${hostname:localhost} preferIpAddress: true status-page-url-path: /info health-check-url-path: /health client: serviceUrl: defaultZone: http://${eureka.instance.hostname}:8080/eureka/ healthcheck: enabled: true management: health: status: ...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-client/src/test/resources/spring/config.namespace.placeholder.with.default.value.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spri...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spri...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./scripts/apollo-on-kubernetes/apollo-config-server/scripts/startup-kubernetes.sh
#!/bin/bash SERVICE_NAME=apollo-configservice ## Adjust log dir if necessary LOG_DIR=/opt/logs/apollo-config-server ## Adjust server port if necessary SERVER_PORT=8080 SERVER_URL="http://${APOLLO_CONFIG_SERVICE_NAME}:${SERVER_PORT}" ## Adjust memory settings if necessary #export JAVA_OPTS="-Xms6144m -Xmx6144m -Xss256...
#!/bin/bash SERVICE_NAME=apollo-configservice ## Adjust log dir if necessary LOG_DIR=/opt/logs/apollo-config-server ## Adjust server port if necessary SERVER_PORT=8080 SERVER_URL="http://${APOLLO_CONFIG_SERVICE_NAME}:${SERVER_PORT}" ## Adjust memory settings if necessary #export JAVA_OPTS="-Xms6144m -Xmx6144m -Xss256...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-assembly/src/test/resources/logback-test.xml
<?xml version="1.0" encoding="UTF-8"?> <configuration scan="true"> <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <charset>utf-8</charset> <Pattern>[%p] %c - %m%n</Pattern> </encoder> </appender> <logger name="org.springframework.test" level="OFF" /> <root level="WARN"> ...
<?xml version="1.0" encoding="UTF-8"?> <configuration scan="true"> <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <charset>utf-8</charset> <Pattern>[%p] %c - %m%n</Pattern> </encoder> </appender> <logger name="org.springframework.test" level="OFF" /> <root level="WARN"> ...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-client/src/test/resources/spring/XmlConfigPlaceholderTest1.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-portal/src/main/config/application-ldap-apacheds-sample.yml
# ldap sample for apache ds, need to rename this file to application-ldap.yml to make it effective spring: ldap: base: "dc=example,dc=com" username: "uid=admin,ou=system" # 配置管理员账号,用于搜索、匹配用户 password: "password" searchFilter: "(uid={0})" # 用户过滤器,登录的时候用这个过滤器来搜索用户 urls: - "ldap://localhost:1038...
# ldap sample for apache ds, need to rename this file to application-ldap.yml to make it effective spring: ldap: base: "dc=example,dc=com" username: "uid=admin,ou=system" # 配置管理员账号,用于搜索、匹配用户 password: "password" searchFilter: "(uid={0})" # 用户过滤器,登录的时候用这个过滤器来搜索用户 urls: - "ldap://localhost:1038...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-client/src/test/resources/spring/XmlConfigAnnotationTest1.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-client/src/test/resources/spring/XmlConfigPlaceholderTest4.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
-1