-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
97 additions
and
132 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE log4j:configuration PUBLIC "-//log4j/log4j Configuration//EN" "log4j.dtd"> | ||
|
||
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> | ||
|
||
|
||
<appender name="console" class="org.apache.log4j.ConsoleAppender"> | ||
<layout class="org.apache.log4j.PatternLayout"> | ||
<param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss SSS} %-5p %c{1} %m %n"/> | ||
</layout> | ||
<filter class="org.apache.log4j.varia.LevelRangeFilter"> | ||
<param name="levelMin" value="INFO"/> | ||
<param name="levelMax" value="ERROR"/> | ||
<param name="AcceptOnMatch" value="true"/> | ||
</filter> | ||
</appender> | ||
|
||
<appender name="fileAppender" class="org.apache.log4j.DailyRollingFileAppender"> | ||
<param name="File" value="${log4j.home}/rocketmq-streams.log"/> | ||
<param name="Append" value="true"/> | ||
<param name="DatePattern" value="'.'yyyy-MM-dd'.log'"/> | ||
<layout class="org.apache.log4j.PatternLayout"> | ||
<param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss SSS} %-5p %c{1} %m %n"/> | ||
</layout> | ||
<filter class="org.apache.log4j.varia.LevelRangeFilter"> | ||
<param name="levelMin" value="${log4j.level}"/> | ||
<param name="levelMax" value="ERROR"/> | ||
<param name="AcceptOnMatch" value="true"/> | ||
</filter> | ||
</appender> | ||
|
||
<appender name="traceAppender" class="org.apache.log4j.DailyRollingFileAppender"> | ||
<param name="File" value="${log4j.home}/trace.log"/> | ||
<param name="Append" value="true"/> | ||
<param name="DatePattern" value="'.'yyyy-MM-dd'.log'"/> | ||
<layout class="org.apache.log4j.PatternLayout"> | ||
<param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss SSS} %-5p %c{1} %m %n"/> | ||
</layout> | ||
</appender> | ||
|
||
<!--<category name="org.apache.rocketmq.streams.common.utils.TraceUtil" additivity="false">--> | ||
<!--<level value="INFO"/>--> | ||
<!--<appender-ref ref="traceAppender"/>--> | ||
<!--</category>--> | ||
|
||
<root> | ||
<appender-ref ref="console"/> | ||
<!--<appender-ref ref="fileAppender"/>--> | ||
</root> | ||
|
||
</log4j:configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
NAMESRV_ADDR=127.0.0.1:9876 | ||
namespace=test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters