Skip to content

Commit 5cb7c33

Browse files
author
Jason Jackson
committed
renamed .log extension
1 parent 7f73c14 commit 5cb7c33

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

bin/storm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def nimbus(klass="backtype.storm.daemon.nimbus"):
241241
"""
242242
cppaths = [STORM_DIR + "/conf"]
243243
jvmopts = parse_args(confvalue("nimbus.childopts", cppaths)) + [
244-
"-Dlogfile.name=nimbus",
244+
"-Dlogfile.name=nimbus.log",
245245
"-Dlogback.configurationFile=" + STORM_DIR + "/logback/cluster.xml",
246246
]
247247
exec_storm_class(
@@ -261,7 +261,7 @@ def supervisor(klass="backtype.storm.daemon.supervisor"):
261261
"""
262262
cppaths = [STORM_DIR + "/conf"]
263263
jvmopts = parse_args(confvalue("supervisor.childopts", cppaths)) + [
264-
"-Dlogfile.name=supervisor",
264+
"-Dlogfile.name=supervisor.log",
265265
"-Dlogback.configurationFile=" + STORM_DIR + "/logback/cluster.xml",
266266
]
267267
exec_storm_class(
@@ -282,7 +282,7 @@ def ui():
282282
"""
283283
cppaths = [STORM_DIR + "/conf"]
284284
jvmopts = parse_args(confvalue("ui.childopts", cppaths)) + [
285-
"-Dlogfile.name=ui",
285+
"-Dlogfile.name=ui.log",
286286
"-Dlogback.configurationFile=" + STORM_DIR + "/logback/cluster.xml",
287287
]
288288
exec_storm_class(
@@ -301,7 +301,7 @@ def drpc():
301301
(https://github.com/nathanmarz/storm/wiki/Distributed-RPC)
302302
"""
303303
jvmopts = ["-Xmx768m",
304-
"-Dlogfile.name=drpc",
304+
"-Dlogfile.name=drpc.log",
305305
"-Dlogback.configurationFile=" + STORM_DIR + "/logback/cluster.xml"
306306
]
307307
exec_storm_class(

logback/cluster.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
<configuration scan="true" scanPeriod="60 seconds">
44
<appender name="A1" class="ch.qos.logback.core.rolling.RollingFileAppender">
5-
<file>${storm.home}/logs/${logfile.name}.log</file>
5+
<file>${storm.home}/logs/${logfile.name}</file>
66
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
7-
<fileNamePattern>${storm.home}/logs/${logfile.name}.%i.log</fileNamePattern>
7+
<fileNamePattern>${storm.home}/logs/${logfile.name}.%i</fileNamePattern>
88
<minIndex>1</minIndex>
99
<maxIndex>9</maxIndex>
1010
</rollingPolicy>

0 commit comments

Comments
 (0)