This repository has been archived by the owner on Jun 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
1,085 changed files
with
61,824 additions
and
48,582 deletions.
There are no files selected for viewing
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,10 @@ | ||
*.git | ||
*.project | ||
*.classpath | ||
*.prefs | ||
*.bat | ||
target/* | ||
*/target/* | ||
/bin | ||
.idea | ||
*.iml |
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
Empty file.
Empty file.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,84 +1,76 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<configuration scan="true" scanPeriod="60 seconds"> | ||
<appender name="A1" | ||
class="ch.qos.logback.core.rolling.RollingFileAppender"> | ||
<file>${jstorm.home}/logs/${logfile.name}</file> | ||
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> | ||
<fileNamePattern>${jstorm.home}/logs/${logfile.name}.%i</fileNamePattern> | ||
<minIndex>1</minIndex> | ||
<maxIndex>5</maxIndex> | ||
</rollingPolicy> | ||
<appender name="A1" class="ch.qos.logback.core.rolling.RollingFileAppender"> | ||
<file>${jstorm.log.dir}/${topology.name:-.}/${logfile.name}</file> | ||
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> | ||
<fileNamePattern>${jstorm.log.dir}/${topology.name:-.}/${logfile.name}.%i</fileNamePattern> | ||
<minIndex>1</minIndex> | ||
<maxIndex>5</maxIndex> | ||
</rollingPolicy> | ||
|
||
<triggeringPolicy | ||
class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> | ||
<maxFileSize>1GB</maxFileSize> | ||
</triggeringPolicy> | ||
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> | ||
<maxFileSize>1GB</maxFileSize> | ||
</triggeringPolicy> | ||
|
||
<encoder> | ||
<pattern>[%p %d{yyyy-MM-dd HH:mm:ss} %c{1}:%L %t] %m%n</pattern> | ||
<encoder> | ||
<pattern>[%p %d{yyyy-MM-dd HH:mm:ss} %c{1}:%L %t] %m%n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
</encoder> | ||
</appender> | ||
<appender name="METRICS" class="ch.qos.logback.core.rolling.RollingFileAppender"> | ||
<file>${jstorm.log.dir}/${topology.name:-.}/${logfile.name}.metrics</file> | ||
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> | ||
<fileNamePattern>${jstorm.log.dir}/${topology.name:-.}/${logfile.name}.metrics.%i</fileNamePattern> | ||
<minIndex>1</minIndex> | ||
<maxIndex>5</maxIndex> | ||
</rollingPolicy> | ||
|
||
<appender name="METRICS" | ||
class="ch.qos.logback.core.rolling.RollingFileAppender"> | ||
<file>${jstorm.home}/logs/${logfile.name}.metrics</file> | ||
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> | ||
<fileNamePattern>${jstorm.home}/logs/${logfile.name}.metrics.%i</fileNamePattern> | ||
<minIndex>1</minIndex> | ||
<maxIndex>5</maxIndex> | ||
</rollingPolicy> | ||
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> | ||
<maxFileSize>100MB</maxFileSize> | ||
</triggeringPolicy> | ||
|
||
<triggeringPolicy | ||
class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> | ||
<maxFileSize>100MB</maxFileSize> | ||
</triggeringPolicy> | ||
<encoder> | ||
<!--<pattern>[%p %d{yyyy-MM-dd HH:mm:ss} %c{1}:%L %t] %m%n</pattern>--> | ||
<pattern>[%d{yyyy-MM-dd HH:mm:ss} %t] %m%n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<encoder> | ||
<pattern>[%p %d{yyyy-MM-dd HH:mm:ss} %c{1}:%L %t] %m%n</pattern> | ||
</encoder> | ||
</appender> | ||
<root level="INFO"> | ||
<appender-ref ref="A1"/> | ||
</root> | ||
<logger name="org.apache.zookeeper" level="ERROR" /> | ||
<logger name="org.apache.curator" level="ERROR" /> | ||
<logger name="com.netflix.curator" level="ERROR" /> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="A1" /> | ||
</root> | ||
<logger name="com.alibaba.jstorm" additivity="false"> | ||
<level value="INFO"/> | ||
<appender-ref ref="A1"/> | ||
</logger> | ||
|
||
<logger name="com.alibaba.jstorm" | ||
additivity="false"> | ||
<level value="INFO" /> | ||
<appender-ref ref="A1" /> | ||
</logger> | ||
<logger name="com.alibaba.jstorm.common.metric" additivity="false"> | ||
<level value="INFO"/> | ||
<appender-ref ref="METRICS"/> | ||
</logger> | ||
|
||
<logger name="com.alibaba.jstorm.common.metric" | ||
additivity="false"> | ||
<level value="INFO" /> | ||
<appender-ref ref="METRICS" /> | ||
</logger> | ||
|
||
<logger name="com.alibaba.jstorm.task.heartbeat" | ||
additivity="false"> | ||
<level value="INFO" /> | ||
<appender-ref ref="METRICS" /> | ||
</logger> | ||
|
||
<logger name="com.alibaba.jstorm.daemon.worker.hearbeat" | ||
additivity="false"> | ||
<level value="INFO" /> | ||
<appender-ref ref="METRICS" /> | ||
</logger> | ||
|
||
<logger name="com.alibaba.jstorm.daemon.nimbus.TopologyMetricsRunnable" | ||
additivity="false"> | ||
<level value="INFO" /> | ||
<appender-ref ref="METRICS" /> | ||
</logger> | ||
|
||
<logger name="com.alibaba.jstorm.metric" | ||
additivity="false"> | ||
<level value="INFO" /> | ||
<appender-ref ref="METRICS" /> | ||
</logger> | ||
<logger name="com.alibaba.jstorm.task.heartbeat" additivity="false"> | ||
<level value="WARN"/> | ||
<appender-ref ref="METRICS"/> | ||
</logger> | ||
|
||
<logger name="com.alibaba.jstorm.daemon.worker.hearbeat" additivity="false"> | ||
<level value="WARN"/> | ||
<appender-ref ref="METRICS"/> | ||
</logger> | ||
|
||
<logger name="com.alibaba.jstorm.daemon.nimbus.metric" additivity="false"> | ||
<level value="INFO"/> | ||
<appender-ref ref="METRICS"/> | ||
</logger> | ||
|
||
<logger name="com.alibaba.jstorm.metric" additivity="false"> | ||
<level value="INFO"/> | ||
<appender-ref ref="METRICS"/> | ||
</logger> | ||
</configuration> | ||
|
Oops, something went wrong.