@rdmind/rdmind 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/package.json +4 -3
- package/dist/src/generated/git-commit.d.ts +1 -1
- package/dist/src/generated/git-commit.js +1 -1
- package/dist/src/ui/commands/createCommand.js +8 -8
- package/dist/src/ui/commands/createCommand.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -3
- package/template/README.md +9 -0
- package/template/pom.xml +106 -0
- package/template/sns-demo-app/pom.xml +27 -0
- package/template/sns-demo-common/pom.xml +35 -0
- package/template/sns-demo-common/src/main/java/com/xiaohongshu/sns/demo/common/utils/RpcResultUtils.java +22 -0
- package/template/sns-demo-common/target/classes/com/xiaohongshu/sns/demo/common/utils/RpcResultUtils.class +0 -0
- package/template/sns-demo-domain/pom.xml +31 -0
- package/template/sns-demo-infrastructure/pom.xml +52 -0
- package/template/sns-demo-infrastructure/src/main/java/com/xiaohongshu/sns/demo/infrastructure/config/rpc/ThriftClientConfig.java +8 -0
- package/template/sns-demo-infrastructure/target/classes/com/xiaohongshu/sns/demo/infrastructure/config/rpc/ThriftClientConfig.class +0 -0
- package/template/sns-demo-start/pom.xml +49 -0
- package/template/sns-demo-start/src/main/java/com/xiaohongshu/sns/demo/start/Application.java +19 -0
- package/template/sns-demo-start/src/main/resources/META-INF/app.properties +2 -0
- package/template/sns-demo-start/src/main/resources/application-prod.yml +6 -0
- package/template/sns-demo-start/src/main/resources/application-sit.yml +6 -0
- package/template/sns-demo-start/src/main/resources/application-staging.yml +6 -0
- package/template/sns-demo-start/src/main/resources/logback-spring.xml +22 -0
- package/template/sns-demo-start/target/classes/META-INF/app.properties +2 -0
- package/template/sns-demo-start/target/classes/application-prod.yml +6 -0
- package/template/sns-demo-start/target/classes/application-sit.yml +6 -0
- package/template/sns-demo-start/target/classes/application-staging.yml +6 -0
- package/template/sns-demo-start/target/classes/com/xiaohongshu/sns/demo/start/Application.class +0 -0
- package/template/sns-demo-start/target/classes/logback-spring.xml +22 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rdmind/rdmind",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "RDMind",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"typecheck": "tsc --noEmit"
|
|
19
19
|
},
|
|
20
20
|
"files": [
|
|
21
|
-
"dist"
|
|
21
|
+
"dist",
|
|
22
|
+
"template"
|
|
22
23
|
],
|
|
23
24
|
"publishConfig": {
|
|
24
25
|
"access": "public"
|
|
@@ -29,7 +30,7 @@
|
|
|
29
30
|
"dependencies": {
|
|
30
31
|
"@google/genai": "1.9.0",
|
|
31
32
|
"@iarna/toml": "^2.2.5",
|
|
32
|
-
"@rdmind/rdmind-core": "^0.0.
|
|
33
|
+
"@rdmind/rdmind-core": "^0.0.7",
|
|
33
34
|
"@modelcontextprotocol/sdk": "^1.15.1",
|
|
34
35
|
"@types/update-notifier": "^6.0.8",
|
|
35
36
|
"command-exists": "^1.2.9",
|
package/template/pom.xml
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
3
|
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
4
|
+
<modelVersion>4.0.0</modelVersion>
|
|
5
|
+
|
|
6
|
+
<groupId>com.xiaohongshu.sns</groupId>
|
|
7
|
+
<artifactId>sns-demo</artifactId>
|
|
8
|
+
<version>1.0-SNAPSHOT</version>
|
|
9
|
+
<packaging>pom</packaging>
|
|
10
|
+
<name>sns-demo</name>
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
<properties>
|
|
14
|
+
<java.version>11</java.version>
|
|
15
|
+
<root-pom.version>3.3.0-MONTHLY-SNAPSHOT</root-pom.version>
|
|
16
|
+
</properties>
|
|
17
|
+
|
|
18
|
+
<modules>
|
|
19
|
+
<module>sns-demo-app</module>
|
|
20
|
+
<module>sns-demo-domain</module>
|
|
21
|
+
<module>sns-demo-infrastructure</module>
|
|
22
|
+
<module>sns-demo-common</module>
|
|
23
|
+
<module>sns-demo-start</module>
|
|
24
|
+
</modules>
|
|
25
|
+
|
|
26
|
+
<dependencyManagement>
|
|
27
|
+
<dependencies>
|
|
28
|
+
<dependency>
|
|
29
|
+
<groupId>com.xiaohongshu</groupId>
|
|
30
|
+
<artifactId>infra-root-pom</artifactId>
|
|
31
|
+
<version>${root-pom.version}</version>
|
|
32
|
+
<type>pom</type>
|
|
33
|
+
<scope>import</scope>
|
|
34
|
+
</dependency>
|
|
35
|
+
<!-- Project modules -->
|
|
36
|
+
<dependency>
|
|
37
|
+
<groupId>com.xiaohongshu.sns</groupId>
|
|
38
|
+
<artifactId>sns-demo-start</artifactId>
|
|
39
|
+
<version>${project.version}</version>
|
|
40
|
+
</dependency>
|
|
41
|
+
<dependency>
|
|
42
|
+
<groupId>com.xiaohongshu.sns</groupId>
|
|
43
|
+
<artifactId>sns-demo-app</artifactId>
|
|
44
|
+
<version>${project.version}</version>
|
|
45
|
+
</dependency>
|
|
46
|
+
<dependency>
|
|
47
|
+
<groupId>com.xiaohongshu.sns</groupId>
|
|
48
|
+
<artifactId>sns-demo-domain</artifactId>
|
|
49
|
+
<version>${project.version}</version>
|
|
50
|
+
</dependency>
|
|
51
|
+
<dependency>
|
|
52
|
+
<groupId>com.xiaohongshu.sns</groupId>
|
|
53
|
+
<artifactId>sns-demo-infrastructure</artifactId>
|
|
54
|
+
<version>${project.version}</version>
|
|
55
|
+
</dependency>
|
|
56
|
+
<dependency>
|
|
57
|
+
<groupId>com.xiaohongshu.sns</groupId>
|
|
58
|
+
<artifactId>sns-demo-common</artifactId>
|
|
59
|
+
<version>${project.version}</version>
|
|
60
|
+
</dependency>
|
|
61
|
+
<!-- Project modules End -->
|
|
62
|
+
<dependency>
|
|
63
|
+
<groupId>com.xiaohongshu</groupId>
|
|
64
|
+
<artifactId>infra-redconf-client-all</artifactId>
|
|
65
|
+
<version>2.0.0</version>
|
|
66
|
+
</dependency>
|
|
67
|
+
<dependency>
|
|
68
|
+
<groupId>com.ctrip.framework.apollo</groupId>
|
|
69
|
+
<artifactId>red-apollo-client</artifactId>
|
|
70
|
+
<version>1.5.5.11</version>
|
|
71
|
+
</dependency>
|
|
72
|
+
<dependency>
|
|
73
|
+
<groupId>com.xiaohongshu</groupId>
|
|
74
|
+
<artifactId>apollo-client-helper</artifactId>
|
|
75
|
+
<version>1.0.6</version>
|
|
76
|
+
</dependency>
|
|
77
|
+
</dependencies>
|
|
78
|
+
</dependencyManagement>
|
|
79
|
+
|
|
80
|
+
<build>
|
|
81
|
+
<plugins>
|
|
82
|
+
<plugin>
|
|
83
|
+
<groupId>org.apache.maven.plugins</groupId>
|
|
84
|
+
<artifactId>maven-compiler-plugin</artifactId>
|
|
85
|
+
<version>3.8.1</version>
|
|
86
|
+
<configuration>
|
|
87
|
+
<source>${java.version}</source>
|
|
88
|
+
<target>${java.version}</target>
|
|
89
|
+
<encoding>UTF-8</encoding>
|
|
90
|
+
</configuration>
|
|
91
|
+
</plugin>
|
|
92
|
+
</plugins>
|
|
93
|
+
</build>
|
|
94
|
+
<distributionManagement>
|
|
95
|
+
<snapshotRepository>
|
|
96
|
+
<id>snapshots</id>
|
|
97
|
+
<name>nexus snapshot repository</name>
|
|
98
|
+
<url>https://artifactory.devops.xiaohongshu.com/artifactory/maven-snapshots/</url>
|
|
99
|
+
</snapshotRepository>
|
|
100
|
+
<repository>
|
|
101
|
+
<id>releases</id>
|
|
102
|
+
<name>nexus repository</name>
|
|
103
|
+
<url>https://artifactory.devops.xiaohongshu.com/artifactory/maven-releases/</url>
|
|
104
|
+
</repository>
|
|
105
|
+
</distributionManagement>
|
|
106
|
+
</project>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
3
|
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
4
|
+
<modelVersion>4.0.0</modelVersion>
|
|
5
|
+
<parent>
|
|
6
|
+
<groupId>com.xiaohongshu.sns</groupId>
|
|
7
|
+
<artifactId>sns-demo</artifactId>
|
|
8
|
+
<version>1.0-SNAPSHOT</version>
|
|
9
|
+
<relativePath>../pom.xml</relativePath>
|
|
10
|
+
</parent>
|
|
11
|
+
|
|
12
|
+
<artifactId>sns-demo-app</artifactId>
|
|
13
|
+
<packaging>jar</packaging>
|
|
14
|
+
<name>sns-demo-app</name>
|
|
15
|
+
|
|
16
|
+
<dependencies>
|
|
17
|
+
<dependency>
|
|
18
|
+
<groupId>com.xiaohongshu.sns</groupId>
|
|
19
|
+
<artifactId>sns-demo-domain</artifactId>
|
|
20
|
+
</dependency>
|
|
21
|
+
<dependency>
|
|
22
|
+
<groupId>com.xiaohongshu.sns</groupId>
|
|
23
|
+
<artifactId>sns-demo-infrastructure</artifactId>
|
|
24
|
+
</dependency>
|
|
25
|
+
</dependencies>
|
|
26
|
+
|
|
27
|
+
</project>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
3
|
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
4
|
+
<modelVersion>4.0.0</modelVersion>
|
|
5
|
+
<parent>
|
|
6
|
+
<groupId>com.xiaohongshu.sns</groupId>
|
|
7
|
+
<artifactId>sns-demo</artifactId>
|
|
8
|
+
<version>1.0-SNAPSHOT</version>
|
|
9
|
+
<relativePath>../pom.xml</relativePath>
|
|
10
|
+
</parent>
|
|
11
|
+
|
|
12
|
+
<artifactId>sns-demo-common</artifactId>
|
|
13
|
+
<packaging>jar</packaging>
|
|
14
|
+
<name>sns-demo-common</name>
|
|
15
|
+
|
|
16
|
+
<dependencies>
|
|
17
|
+
<dependency>
|
|
18
|
+
<groupId>com.xiaohongshu</groupId>
|
|
19
|
+
<artifactId>rpc-context</artifactId>
|
|
20
|
+
</dependency>
|
|
21
|
+
<dependency>
|
|
22
|
+
<groupId>com.ctrip.framework.apollo</groupId>
|
|
23
|
+
<artifactId>red-apollo-client</artifactId>
|
|
24
|
+
</dependency>
|
|
25
|
+
<dependency>
|
|
26
|
+
<groupId>com.xiaohongshu</groupId>
|
|
27
|
+
<artifactId>apollo-client-helper</artifactId>
|
|
28
|
+
</dependency>
|
|
29
|
+
<dependency>
|
|
30
|
+
<groupId>org.projectlombok</groupId>
|
|
31
|
+
<artifactId>lombok</artifactId>
|
|
32
|
+
</dependency>
|
|
33
|
+
</dependencies>
|
|
34
|
+
|
|
35
|
+
</project>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
package com.xiaohongshu.sns.demo.common.utils;
|
|
2
|
+
|
|
3
|
+
import com.xiaohongshu.infra.rpc.base.Result;
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
public final class RpcResultUtils {
|
|
7
|
+
public static Result success() {
|
|
8
|
+
Result result = new Result();
|
|
9
|
+
result.setSuccess(true);
|
|
10
|
+
result.setCode(0);
|
|
11
|
+
result.setMessage("success");
|
|
12
|
+
return result;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
public static Result failed(String msg) {
|
|
16
|
+
Result result = new Result();
|
|
17
|
+
result.setSuccess(false);
|
|
18
|
+
result.setCode(-1);
|
|
19
|
+
result.setMessage(msg);
|
|
20
|
+
return result;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
3
|
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
4
|
+
<modelVersion>4.0.0</modelVersion>
|
|
5
|
+
<parent>
|
|
6
|
+
<groupId>com.xiaohongshu.sns</groupId>
|
|
7
|
+
<artifactId>sns-demo</artifactId>
|
|
8
|
+
<version>1.0-SNAPSHOT</version>
|
|
9
|
+
<relativePath>../pom.xml</relativePath>
|
|
10
|
+
</parent>
|
|
11
|
+
|
|
12
|
+
<artifactId>sns-demo-domain</artifactId>
|
|
13
|
+
<packaging>jar</packaging>
|
|
14
|
+
<name>sns-demo-domain</name>
|
|
15
|
+
|
|
16
|
+
<dependencies>
|
|
17
|
+
<dependency>
|
|
18
|
+
<groupId>com.xiaohongshu.sns</groupId>
|
|
19
|
+
<artifactId>sns-demo-common</artifactId>
|
|
20
|
+
</dependency>
|
|
21
|
+
<dependency>
|
|
22
|
+
<groupId>org.springframework.boot</groupId>
|
|
23
|
+
<artifactId>spring-boot-starter-aop</artifactId>
|
|
24
|
+
</dependency>
|
|
25
|
+
<dependency>
|
|
26
|
+
<groupId>com.xiaohongshu</groupId>
|
|
27
|
+
<artifactId>infra-framework-context</artifactId>
|
|
28
|
+
</dependency>
|
|
29
|
+
</dependencies>
|
|
30
|
+
|
|
31
|
+
</project>
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
3
|
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
4
|
+
<modelVersion>4.0.0</modelVersion>
|
|
5
|
+
<parent>
|
|
6
|
+
<groupId>com.xiaohongshu.sns</groupId>
|
|
7
|
+
<artifactId>sns-demo</artifactId>
|
|
8
|
+
<version>1.0-SNAPSHOT</version>
|
|
9
|
+
<relativePath>../pom.xml</relativePath>
|
|
10
|
+
</parent>
|
|
11
|
+
|
|
12
|
+
<artifactId>sns-demo-infrastructure</artifactId>
|
|
13
|
+
<packaging>jar</packaging>
|
|
14
|
+
<name>sns-demo-infrastructure</name>
|
|
15
|
+
|
|
16
|
+
<dependencies>
|
|
17
|
+
<!-- module自依赖 -->
|
|
18
|
+
<dependency>
|
|
19
|
+
<groupId>com.xiaohongshu.sns</groupId>
|
|
20
|
+
<artifactId>sns-demo-common</artifactId>
|
|
21
|
+
</dependency>
|
|
22
|
+
<dependency>
|
|
23
|
+
<groupId>com.xiaohongshu.sns</groupId>
|
|
24
|
+
<artifactId>sns-demo-domain</artifactId>
|
|
25
|
+
</dependency>
|
|
26
|
+
|
|
27
|
+
<!-- spring依赖 -->
|
|
28
|
+
<dependency>
|
|
29
|
+
<groupId>org.springframework.boot</groupId>
|
|
30
|
+
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
31
|
+
</dependency>
|
|
32
|
+
<dependency>
|
|
33
|
+
<groupId>org.springframework</groupId>
|
|
34
|
+
<artifactId>spring-context-support</artifactId>
|
|
35
|
+
</dependency>
|
|
36
|
+
|
|
37
|
+
<!-- 中间件依赖 -->
|
|
38
|
+
<dependency>
|
|
39
|
+
<groupId>com.xiaohongshu</groupId>
|
|
40
|
+
<artifactId>gateway-starter</artifactId>
|
|
41
|
+
</dependency>
|
|
42
|
+
<dependency>
|
|
43
|
+
<groupId>com.xiaohongshu</groupId>
|
|
44
|
+
<artifactId>infra-framework-rpc-spring</artifactId>
|
|
45
|
+
</dependency>
|
|
46
|
+
<dependency>
|
|
47
|
+
<groupId>com.xiaohongshu</groupId>
|
|
48
|
+
<artifactId>infra-framework-rpc-core</artifactId>
|
|
49
|
+
</dependency>
|
|
50
|
+
</dependencies>
|
|
51
|
+
|
|
52
|
+
</project>
|
|
Binary file
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
3
|
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
4
|
+
<modelVersion>4.0.0</modelVersion>
|
|
5
|
+
<parent>
|
|
6
|
+
<groupId>com.xiaohongshu.sns</groupId>
|
|
7
|
+
<artifactId>sns-demo</artifactId>
|
|
8
|
+
<version>1.0-SNAPSHOT</version>
|
|
9
|
+
<relativePath>../pom.xml</relativePath>
|
|
10
|
+
</parent>
|
|
11
|
+
|
|
12
|
+
<artifactId>sns-demo-start</artifactId>
|
|
13
|
+
<packaging>jar</packaging>
|
|
14
|
+
<name>sns-demo-start</name>
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
<dependencies>
|
|
18
|
+
<!-- module自依赖 -->
|
|
19
|
+
<dependency>
|
|
20
|
+
<groupId>com.xiaohongshu.sns</groupId>
|
|
21
|
+
<artifactId>sns-demo-app</artifactId>
|
|
22
|
+
</dependency>
|
|
23
|
+
<dependency>
|
|
24
|
+
<groupId>com.xiaohongshu.xray</groupId>
|
|
25
|
+
<artifactId>xray-logging</artifactId>
|
|
26
|
+
</dependency>
|
|
27
|
+
</dependencies>
|
|
28
|
+
|
|
29
|
+
<build>
|
|
30
|
+
<finalName>sns-demo</finalName>
|
|
31
|
+
<plugins>
|
|
32
|
+
<plugin>
|
|
33
|
+
<groupId>org.springframework.boot</groupId>
|
|
34
|
+
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
35
|
+
<version>2.1.6.RELEASE</version>
|
|
36
|
+
<configuration>
|
|
37
|
+
<mainClass>com.xiaohongshu.sns.demo.start.Application</mainClass>
|
|
38
|
+
</configuration>
|
|
39
|
+
<executions>
|
|
40
|
+
<execution>
|
|
41
|
+
<goals>
|
|
42
|
+
<goal>repackage</goal>
|
|
43
|
+
</goals>
|
|
44
|
+
</execution>
|
|
45
|
+
</executions>
|
|
46
|
+
</plugin>
|
|
47
|
+
</plugins>
|
|
48
|
+
</build>
|
|
49
|
+
</project>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
package com.xiaohongshu.sns.demo.start;
|
|
2
|
+
|
|
3
|
+
import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
|
|
4
|
+
import com.xiaohongshu.infra.rpc.annotation.EnableRedRPC;
|
|
5
|
+
import org.springframework.boot.SpringApplication;
|
|
6
|
+
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
7
|
+
import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
|
8
|
+
|
|
9
|
+
@SpringBootApplication(
|
|
10
|
+
scanBasePackages = {"com.xiaohongshu.infra", "com.xiaohongshu.sns"}
|
|
11
|
+
)
|
|
12
|
+
@EnableApolloConfig
|
|
13
|
+
@EnableAspectJAutoProxy
|
|
14
|
+
@EnableRedRPC(scanBasePackages = {"com.xiaohongshu.sns"})
|
|
15
|
+
public class Application {
|
|
16
|
+
public static void main(String[] args) {
|
|
17
|
+
SpringApplication.run(Application.class, args);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<configuration>
|
|
3
|
+
<property name="LOG_LEVEL" value="INFO"/>
|
|
4
|
+
<include resource="logback-xray-base.xml"/>
|
|
5
|
+
|
|
6
|
+
<root level="${LOG_LEVEL}">
|
|
7
|
+
<appender-ref ref="ASYNC-CONSOLE-APPENDER"/>
|
|
8
|
+
<!-- <appender-ref ref="Sentry"/>-->
|
|
9
|
+
</root>
|
|
10
|
+
|
|
11
|
+
<logger name="com.xiaohongshu.sns" level="debug"></logger>
|
|
12
|
+
<logger name="org.apache.ibatis" level="INFO"></logger>
|
|
13
|
+
<logger name="org.apache.catalina" level="ERROR"></logger>
|
|
14
|
+
<logger name="org.apache.zookeeper" level="INFO"></logger>
|
|
15
|
+
<logger name="org.springframework" level="INFO"></logger>
|
|
16
|
+
<logger name="com.xiaohongshu.infra" level="ERROR"></logger>
|
|
17
|
+
<logger name="com.xiaohongshu.racing" level="WARN"></logger>
|
|
18
|
+
<logger name="com.dianping.cat" level="INFO"></logger>
|
|
19
|
+
<logger name="red.midware.shaded" level="INFO"></logger>
|
|
20
|
+
<logger name="events" level="INFO"></logger>
|
|
21
|
+
|
|
22
|
+
</configuration>
|
package/template/sns-demo-start/target/classes/com/xiaohongshu/sns/demo/start/Application.class
ADDED
|
Binary file
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<configuration>
|
|
3
|
+
<property name="LOG_LEVEL" value="INFO"/>
|
|
4
|
+
<include resource="logback-xray-base.xml"/>
|
|
5
|
+
|
|
6
|
+
<root level="${LOG_LEVEL}">
|
|
7
|
+
<appender-ref ref="ASYNC-CONSOLE-APPENDER"/>
|
|
8
|
+
<!-- <appender-ref ref="Sentry"/>-->
|
|
9
|
+
</root>
|
|
10
|
+
|
|
11
|
+
<logger name="com.xiaohongshu.sns" level="debug"></logger>
|
|
12
|
+
<logger name="org.apache.ibatis" level="INFO"></logger>
|
|
13
|
+
<logger name="org.apache.catalina" level="ERROR"></logger>
|
|
14
|
+
<logger name="org.apache.zookeeper" level="INFO"></logger>
|
|
15
|
+
<logger name="org.springframework" level="INFO"></logger>
|
|
16
|
+
<logger name="com.xiaohongshu.infra" level="ERROR"></logger>
|
|
17
|
+
<logger name="com.xiaohongshu.racing" level="WARN"></logger>
|
|
18
|
+
<logger name="com.dianping.cat" level="INFO"></logger>
|
|
19
|
+
<logger name="red.midware.shaded" level="INFO"></logger>
|
|
20
|
+
<logger name="events" level="INFO"></logger>
|
|
21
|
+
|
|
22
|
+
</configuration>
|