Hello all ,

I am unable to collect logging in *worker.log.out* etc files (are empty)
.. I think i am missing something . Any idea how to enable default logging
 in storm distributed setup .
I have also tried conf.debug(true/false) both from java code .

On Thu, May 26, 2016 at 7:21 PM, anshu shukla <[email protected]>
wrote:

> Actually ,I do not know  what changes I should make to get log entry in
> below files .
> In previous version minor change  to logback.xml  make me get worker logs
> but here we have cluster.xml and worker.xml .
>
> What exactly we have to modify to get all level of logs
> in workers-artifacts folder .
>
>
> *- wordcount in the files is as  *
>
> * 36 gc.log.0.current*
> *   0 worker.log*
> *   0 worker.log.err*
> *   0 worker.log.metrics*
> *   0 worker.log.out*
> *   0 worker.pid*
> *   4 worker.yaml*
>
> On Thu, May 26, 2016 at 6:58 PM, anshu shukla <[email protected]>
> wrote:
>
>> Thanks,
>>
>> I will check and then reply .
>>
>> On Thu, May 26, 2016 at 6:29 PM, Abhishek Agarwal <[email protected]>
>> wrote:
>>
>>> storm 1.0.1 uses log4j2
>>>
>>> On Thu, May 26, 2016 at 4:56 PM, Lohith Samaga M <
>>> [email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>>                 It is better to use logging using log4j2, etc. You can
>>>> then check your local log files.
>>>>
>>>>
>>>>
>>>> *Best regards / Mit freundlichen Grüßen / Sincères salutations*
>>>>
>>>> *M. Lohith Samaga*
>>>>
>>>>
>>>>
>>>> *From:* anshu shukla [mailto:[email protected]]
>>>> *Sent:* Thursday, May 26, 2016 13.59
>>>> *To:* [email protected]
>>>> *Subject:* using java println in Storm 1.0.1
>>>>
>>>>
>>>>
>>>> Hey ,
>>>>
>>>>
>>>>
>>>> I don't know why this is happening .My topology is running fine without
>>>> any  statement like -
>>>>
>>>> System.*out*.println(*"distinctCount is for 
>>>> member_id-"*+member_id+*"-"*+*distinctCount*);
>>>>
>>>> But when i use such *syso* statements in any bolt/spout it stops emiting 
>>>> messages as seen from UI.
>>>>
>>>> Is it due to some upgrade to new version ? or am wrong at some place .
>>>>
>>>> While it is working fine in local mode /IDE but not on clutser .
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Thanks & Regards,
>>>> Anshu Shukla
>>>>
>>>>
>>>> Information transmitted by this e-mail is proprietary to Mphasis, its
>>>> associated companies and/ or its customers and is intended
>>>> for use only by the individual or entity to which it is addressed, and
>>>> may contain information that is privileged, confidential or
>>>> exempt from disclosure under applicable law. If you are not the
>>>> intended recipient or it appears that this mail has been forwarded
>>>> to you without proper authority, you are notified that any use or
>>>> dissemination of this information in any manner is strictly
>>>> prohibited. In such cases, please notify us immediately at
>>>> [email protected] and delete this mail from your records.
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Abhishek Agarwal
>>>
>>>
>>
>>
>> --
>> Thanks & Regards,
>> Anshu Shukla
>>
>
>
>
> --
> Thanks & Regards,
> Anshu Shukla
>



-- 
Thanks & Regards,
Anshu Shukla

Reply via email to