Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ROCKETMQ-194]Add logappender example #18

Closed
wants to merge 1 commit into from
Closed

[ROCKETMQ-194]Add logappender example #18

wants to merge 1 commit into from

Conversation

lindzh
Copy link
Contributor

@lindzh lindzh commented Jun 8, 2017

add logappender example


{% include toc %}

When we use rocketmq as a part of big data processing or other cases,bussiness also need to put log data to rocketmq.Rocketmq logappender provides log4j appender,logback appender and log4j2 appender for bussiness to use,below is some example.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. rocketmq vs. Rocketmq, which one
  2. RocketMQ's logappender

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Rocketmq logappender provides log4j appender,logback appender and log4j2 appender for bussiness to use,below is some example."--> RocketMQ log appender provides log4j, logback and log4j2 appenders for business developers. The following are some examples.


```
<appender name="mqAppender1" class="org.apache.rocketmq.logappender.log4j.RocketmqLog4jAppender">
<param name="Tag" value="yourTag" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

capitalize the first letter in name?

@asfgit asfgit closed this in b23e499 Jun 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants