Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

renamed .log extension

  • Loading branch information...
commit 5cb7c33819b249fd6bc72e60e02428efbed9b193 1 parent 7f73c14
Jason Jackson authored
Showing with 6 additions and 6 deletions.
  1. +4 −4 bin/storm
  2. +2 −2 logback/cluster.xml
View
8 bin/storm
@@ -241,7 +241,7 @@ def nimbus(klass="backtype.storm.daemon.nimbus"):
"""
cppaths = [STORM_DIR + "/conf"]
jvmopts = parse_args(confvalue("nimbus.childopts", cppaths)) + [
- "-Dlogfile.name=nimbus",
+ "-Dlogfile.name=nimbus.log",
"-Dlogback.configurationFile=" + STORM_DIR + "/logback/cluster.xml",
]
exec_storm_class(
@@ -261,7 +261,7 @@ def supervisor(klass="backtype.storm.daemon.supervisor"):
"""
cppaths = [STORM_DIR + "/conf"]
jvmopts = parse_args(confvalue("supervisor.childopts", cppaths)) + [
- "-Dlogfile.name=supervisor",
+ "-Dlogfile.name=supervisor.log",
"-Dlogback.configurationFile=" + STORM_DIR + "/logback/cluster.xml",
]
exec_storm_class(
@@ -282,7 +282,7 @@ def ui():
"""
cppaths = [STORM_DIR + "/conf"]
jvmopts = parse_args(confvalue("ui.childopts", cppaths)) + [
- "-Dlogfile.name=ui",
+ "-Dlogfile.name=ui.log",
"-Dlogback.configurationFile=" + STORM_DIR + "/logback/cluster.xml",
]
exec_storm_class(
@@ -301,7 +301,7 @@ def drpc():
(https://github.com/nathanmarz/storm/wiki/Distributed-RPC)
"""
jvmopts = ["-Xmx768m",
- "-Dlogfile.name=drpc",
+ "-Dlogfile.name=drpc.log",
"-Dlogback.configurationFile=" + STORM_DIR + "/logback/cluster.xml"
]
exec_storm_class(
View
4 logback/cluster.xml
@@ -2,9 +2,9 @@
<configuration scan="true" scanPeriod="60 seconds">
<appender name="A1" class="ch.qos.logback.core.rolling.RollingFileAppender">
- <file>${storm.home}/logs/${logfile.name}.log</file>
+ <file>${storm.home}/logs/${logfile.name}</file>
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
- <fileNamePattern>${storm.home}/logs/${logfile.name}.%i.log</fileNamePattern>
+ <fileNamePattern>${storm.home}/logs/${logfile.name}.%i</fileNamePattern>
<minIndex>1</minIndex>
<maxIndex>9</maxIndex>
</rollingPolicy>
Please sign in to comment.
Something went wrong with that request. Please try again.