Skip to content

Commit

Permalink
Update tars_java_user_guide.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TOKISAKIKURUMI committed Dec 1, 2017
1 parent 7644e28 commit aabc6ac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/tars_java_user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@
在构建项目**pom.xml**中添加依赖jar包

- 框架依赖配置

'''xml
<dependency>
<groupId>qq-cloud-central</groupId>
<artifactId>tars-server</artifactId>
<version>1.0.3</version>
<type>jar</type>
</dependency>

'''
- 插件依赖配置

'''xml
<plugin>
<groupId>qq-cloud-central</groupId>
<artifactId>tars-maven-plugin</artifactId>
Expand All @@ -44,7 +44,7 @@
</tars2JavaConfig>
</configuration>
</plugin>

'''x
### 接口文件定义 ###

接口文件定义是通过Tars接口描述语言来定义,在src/main/resources目录下建立hello.tars文件,内容如下
Expand Down Expand Up @@ -661,4 +661,4 @@ tars.setdyeing 12345 TestApp.HelloServer.HelloObj sayHello
- 染色日志查询:

> - 本地染色日志:日志默认所在目录为/usr/local/app/tars/app_log/tars_dyeing/,对于主动染色,日志名为打开开关时传入的参数加固定后缀;对于被动染色,日志名为染色入口服务的Server名称加固定后缀。后缀为_dyeing。
> - 远程日志:在tarslog服务打日志所在机器上 的/usr/local/app/tars/remote_app_log/tars_dyeing/dyeing/目录下,日志名为tars_dyeing.dyeing_{此部分同本地染色日志名}。
> - 远程日志:在tarslog服务打日志所在机器上 的/usr/local/app/tars/remote_app_log/tars_dyeing/dyeing/目录下,日志名为tars_dyeing.dyeing_{此部分同本地染色日志名}。

0 comments on commit aabc6ac

Please sign in to comment.