forked from OpenTSDB/opentsdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add logback.xml from deb package to rpm directory Move opentsdb_restart.py to tools directory Create symlinks during RPM installation Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
- Loading branch information
Showing
6 changed files
with
76 additions
and
31 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
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
<!--<jmxConfigurator/>--> | ||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern> | ||
%d{ISO8601} %-5level [%thread] %logger{0}: %msg%n | ||
</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<appender name="CYCLIC" class="ch.qos.logback.core.read.CyclicBufferAppender"> | ||
<MaxSize>1024</MaxSize> | ||
</appender> | ||
|
||
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> | ||
<file>/var/log/opentsdb/opentsdb.log</file> | ||
<append>true</append> | ||
|
||
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> | ||
<fileNamePattern>/var/log/opentsdb/opentsdb.log.%i</fileNamePattern> | ||
<minIndex>1</minIndex> | ||
<maxIndex>3</maxIndex> | ||
</rollingPolicy> | ||
|
||
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> | ||
<maxFileSize>128MB</maxFileSize> | ||
</triggeringPolicy> | ||
|
||
<!-- encoders are assigned the type | ||
ch.qos.logback.classic.encoder.PatternLayoutEncoder by default --> | ||
<encoder> | ||
<pattern>%d{HH:mm:ss.SSS} %-5level [%logger{0}.%M] - %msg%n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<logger name="org.apache.zookeeper" level="INFO"/> | ||
<logger name="org.hbase.async" level="INFO"/> | ||
<logger name="com.stumbleupon.async" level="INFO"/> | ||
<root level="INFO"> | ||
<appender-ref ref="STDOUT"/> | ||
<appender-ref ref="CYCLIC"/> | ||
<appender-ref ref="FILE"/> | ||
</root> | ||
</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
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
0
src/opentsdb_restart.py → tools/opentsdb_restart.py
100755 → 100644
File renamed without changes.