Hi Tom,

In Storm-901 (merged in Oct 27), we made worker logs hierarchical and placed at 
${storm.local.dir}/workers-artifacts/topo/port/worker.log .

Last week, in STORM-1387 https://github.com/apache/storm/pull/822
we took additional suggestions and made worker log directory configurable and 
by default it goes to
${storm.log.dir}/workers-artifacts/topo/port/worker.log

Please feel free to upmerge and then by default you can find your worker logs 
under storm-home/logs/workers-artifacts.

We will specify this change more clearly in documentation for avoiding more 
confusion. Thanks.

Also thanks for Longda's description!

Best Regards,
Zhuo Liu
Yahoo Inc.
Ph.D., CSSE of Auburn University
http://www.auburn.edu/~zzl0014/

________________________________________
From: Tom Fu <[email protected]>
Sent: Tuesday, December 15, 2015 7:08 AM
To: [email protected]; Longda Feng
Subject: RE: Current master has no worker log

Sorry to mention that the topology runs normally (including worker processes), 
tuples are process correctly. But there are no worker logs, nor those folders 
you mentioned.
However, I tried to checkout an earlier commit, say one month ago, and run the 
same topology, the worker logs appears.

Thanks,
Tom Fu

-----Original Message-----
From: Longda Feng [mailto:[email protected]]
Sent: Tuesday, 15 December, 2015 8:55 PM
To: dev
Subject: Re: Current master has no worker log

(1) The latest log's hierarchy has been changed,  
$BASE_LOG_DIR/workers-artifacts/$topologyName/port/xxxx.log,   do you check 
these?(2) if there is no any logs like 
$BASE_LOG_DIR/workers-artifacts/$topologyName/port/xxxx.log, please check 
whether the worker process exist or not(2.1) if the worker process is running, 
please check whether log4j configuration is correct or not?(2.2) if the worker 
process is dead, please find the command launching the worker in the 
supervisor.log, then manually run the command, normally if the gc parameter is 
invalid, it is likely to failed to launch 
worker.regardsLongda------------------------------------------------------------------From:Tom
 Fu <[email protected]>Send Time:2015年12月15日(星期二) 20:15To:[email protected] 
<[email protected]>Subject:Current master has no worker logHi all,    I have 
tried to checkout current Master and run a testing topology, but there are no 
worker logs. (Nimbus log and Supervisor log is there). Can anyone tell what is 
the problem?Regards,Tom Fu

Reply via email to