I've run a few topologies in storm-starter locally. Do I need to run
remotely in order for a logger to be created?

On Tue, Oct 28, 2014 at 12:29 AM, Itai Frenkel <[email protected]> wrote:

>  It is probably created by the logger if you won't create it first. Have
> you run the supervisor/worker yet?
>  ------------------------------
> *From:* Minqi Jiang <[email protected]>
> *Sent:* Monday, October 27, 2014 9:46 AM
> *To:* [email protected]
> *Subject:* Re: How to use logback to log to a file?
>
>  Where is the storm/logs folder located? I don't see a logs folder in
> storm/logs, where storm is the unzipped storm folder.
>
>  I also looked in ~/.m2/repository/org/apache/storm/ and do not see a
> logs folder.
>
> On Mon, Oct 27, 2014 at 12:35 AM, Itai Frenkel <[email protected]> wrote:
>
>>  After installing storm, look at storm/logback/cluster.xml under
>> the RollingFileAppender.
>>
>> The log files are by default written to storm/logs folder
>>
>> you can do a symbolic link before starting storm. For example if storm is
>> unzipped in /opt/storm and you would like to log to /mylogs
>>
>> ln -s -f /mylogs /opt/storm/logs
>>
>>
>>  Regards,
>>
>> Itai
>>
>>
>>  ------------------------------
>> *From:* Minqi Jiang <[email protected]>
>> *Sent:* Monday, October 27, 2014 8:27 AM
>> *To:* [email protected]
>> *Subject:* How to use logback to log to a file?
>>
>>   Hi all,
>>
>>  I'm having trouble figuring out how to make Storm log to a file. From
>> my understanding, the logback cluster.xml should specify the location of
>> output logs. However, taking a look at this file, it seems the output path
>> is specified as {storm.log.dir}. How can I find out what this value is?
>>
>>  I am running Storm locally for now on OS X 10.9.5. I looked inside the
>> storm directly in ~/.m2/repository/ and do not see a directory called "log"
>> or "logs".
>>
>>  Any help is much appreciated.
>>
>>  Thanks,
>> Minqi
>>
>
>

Reply via email to