I am using 0.9.3. I did set it in storm.yaml, and the console log shows it as set, but the worker logs still end up in /tmp. I am running storm in local cluster mode.
thanks, Clay On Mon, Jan 19, 2015 at 12:39 PM, Parth Brahmbhatt < [email protected]> wrote: > What version of storm are you using? I just tried this locally and it seem > to be working on the master branch right now. > > You can try to set the “storm.log.dir” in your storm config and see if > that takes effect or not. > > Thanks > Parth > > On Jan 19, 2015, at 9:55 AM, clay teahouse <[email protected]> wrote: > > Thanks Parth. > I did set storm.log.dir in storm.yaml, but it seems that it is being > ignored. > . > > On Mon, Jan 19, 2015 at 10:46 AM, Parth Brahmbhatt < > [email protected]> wrote: > >> you can specify the worker log location in worker.xml. The default >> is ${storm.log.dir}/${logfile.name}. You can find the file under >> STORM_HOME/logback/. >> >> Thanks >> Parth >> >> >> >> On Jan 19, 2015, at 7:34 AM, Susana González <[email protected]> wrote: >> >> I'm afraid I haven't specified them. That location is where the logs were >> created by default. >> >> On Mon, Jan 19, 2015 at 4:29 PM, clay teahouse <[email protected]> >> wrote: >> >>> Thanks Susana. >>> Where do you specify the location of the logs? >>> >>> -Clay >>> >>> On Mon, Jan 19, 2015 at 9:09 AM, Susana González <[email protected]> >>> wrote: >>> >>>> Hi Clay, >>>> >>>> I use "logrotate" to rotate the storm worker logs (in my case they are >>>> generated by default in $STORM_HOME/logs). You can create e.g. a file >>>> called "storm" in the folder /etc/logrotate.d with something like the >>>> following: >>>> >>>> /opt/storm/logs/worker-*.log { >>>> daily >>>> rotate 5 >>>> compress >>>> missingok >>>> notifempty >>>> copytruncate >>>> create 640 root root >>>> } >>>> >>>> Regards, >>>> Susana >>>> >>>> On Mon, Jan 19, 2015 at 12:53 PM, clay teahouse <[email protected] >>>> > wrote: >>>> >>>>> Hi All, >>>>> Sorry if these questions have asked before. I cannot find the answers. >>>>> >>>>> 1) Where do I specify the location of the worker logs? The default >>>>> seems to be /tmp. >>>>> 2) How do I rotate these logs? >>>>> >>>>> thanks, >>>>> Clay >>>>> >>>> >>>> >>> >> >> >> CONFIDENTIALITY NOTICE >> NOTICE: This message is intended for the use of the individual or entity >> to which it is addressed and may contain information that is confidential, >> privileged and exempt from disclosure under applicable law. If the reader >> of this message is not the intended recipient, you are hereby notified that >> any printing, copying, dissemination, distribution, disclosure or >> forwarding of this communication is strictly prohibited. If you have >> received this communication in error, please contact the sender immediately >> and delete it from your system. Thank You. > > > > > CONFIDENTIALITY NOTICE > NOTICE: This message is intended for the use of the individual or entity > to which it is addressed and may contain information that is confidential, > privileged and exempt from disclosure under applicable law. If the reader > of this message is not the intended recipient, you are hereby notified that > any printing, copying, dissemination, distribution, disclosure or > forwarding of this communication is strictly prohibited. If you have > received this communication in error, please contact the sender immediately > and delete it from your system. Thank You. >
