<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">run lsof and see what files the process has open<div class=""><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div class="">--</div><div class="">Clive Eisen</div><div class="">GPG: 75056DD0</div><div class=""><br class=""></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br class=""><div style=""><blockquote type="cite" class=""><div class="">On 5 Oct 2016, at 15:33, Wanjuan Yang <<a href="mailto:wy1@sanger.ac.uk" class="">wy1@sanger.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class=""><span style="font-size: 11pt; font-family: Calibri;" class="">I did restart the server many times since I delete the log file and create a new one.<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class=""><span style="font-size: 11pt; font-family: Calibri;" class=""> </span></div><div style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0in 0in;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class=""><b class=""><span style="font-family: Calibri;" class="">From:<span class="Apple-converted-space"> </span></span></b><span style="font-family: Calibri;" class="">dancer-users <<a href="mailto:dancer-users-bounces@dancer.pm" style="color: purple; text-decoration: underline;" class="">dancer-users-bounces@dancer.pm</a>> on behalf of Clive Eisen <<a href="mailto:clive@hildebrand.co.uk" style="color: purple; text-decoration: underline;" class="">clive@hildebrand.co.uk</a>><br class=""><b class="">Reply-To:<span class="Apple-converted-space"> </span></b>Perl Dancer users mailing list <<a href="mailto:dancer-users@dancer.pm" style="color: purple; text-decoration: underline;" class="">dancer-users@dancer.pm</a>><br class=""><b class="">Date:<span class="Apple-converted-space"> </span></b>Wednesday, October 5, 2016 at 3:29 PM<br class=""><b class="">To:<span class="Apple-converted-space"> </span></b>Perl Dancer users mailing list <<a href="mailto:dancer-users@dancer.pm" style="color: purple; text-decoration: underline;" class="">dancer-users@dancer.pm</a>><br class=""><b class="">Subject:<span class="Apple-converted-space"> </span></b>Re: [dancer-users] log file stop recording<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class=""><o:p class=""> </o:p></div></div><div class=""><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">Did you restart after deleting the file?<span class="Apple-converted-space"> </span><o:p class=""></o:p></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class=""><o:p class=""> </o:p></div><div class=""><div class=""><div class=""><div class=""><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class=""><span style="font-family: Helvetica;" class="">--<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class=""><span style="font-family: Helvetica;" class="">Clive Eisen<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class=""><span style="font-family: Helvetica;" class="">GPG: 75056DD0<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class=""><span style="font-family: Helvetica;" class=""> </span></div></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class=""><span style="font-family: Helvetica;" class=""> </span></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class=""><span style="font-family: Helvetica;" class=""> </span></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class=""><span style="font-family: Helvetica;" class=""><br class=""><br class=""></span><o:p class=""></o:p></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class=""><o:p class=""> </o:p></div><div class=""><blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class="" type="cite"><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">On 5 Oct 2016, at 15:14, Wanjuan Yang <<a href="mailto:wy1@sanger.ac.uk" style="color: purple; text-decoration: underline;" class="">wy1@sanger.ac.uk</a>> wrote:<o:p class=""></o:p></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class=""><o:p class=""> </o:p></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class="">Hi Kadir,<br class=""><br class="">Many thanks for your reply!<br class=""><br class="">The development.yml does have the following:<br class=""><br class=""># the logger engine to use<br class="">#console: log messages to STDOUT (your console where you started the<br class=""># application server)<br class=""># file: log message to a file in log/<br class="">logger: "file"<br class=""><br class=""># the log level for this environment<br class=""># core is the lowest, it shows Dancer's core log messages as well as yours<br class=""># (debug, info, warning and error)<br class="">log: "debug"<br class=""><br class=""># should Dancer consider warnings as critical errors?<br class="">warnings: 0<br class=""><br class=""># should Dancer show a stacktrace when an error is caught?<br class="">show_errors: 1<br class=""><br class="">I check the space with<br class="">df -h /data/<br class="">Filesystem Size Used Avail Use% Mounted on<br class="">/dev/mapper/apps-data 30G 3.7G 27G 13% /data<br class=""><br class="">So it looks like still have space.<br class=""><br class="">I initially delete the old file when I found it is not updating. Then I manually create a new empty file development.log and<span class="Apple-converted-space"> </span><br class="">I change the log file to have –rwxrwxrwx permission, but still it doesn’t seem to writing anything in it.<span style="font-family: MingLiU;" class=""><br class=""><br class=""></span>What problem it could be?<span class="Apple-converted-space"> </span><br class=""><br class="">Many thanks,<br class="">Wendy<br class=""><br class=""><br class="">On 10/5/16, 1:52 PM, "dancer-users on behalf of Kadir Beyazlı" <<a href="mailto:dancer-users-bounces@dancer.pm" style="color: purple; text-decoration: underline;" class="">dancer-users-bounces@dancer.pm</a><span class="Apple-converted-space"> </span>on behalf of<span class="Apple-converted-space"> </span><a href="mailto:kadirbeyazli@gmail.com" style="color: purple; text-decoration: underline;" class="">kadirbeyazli@gmail.com</a>> wrote:<br class=""><br class="">Hi Wanjuan<br class=""><br class="">On Wed, Oct 5, 2016 at 1:31 PM, Wanjuan Yang <<a href="mailto:wy1@sanger.ac.uk" style="color: purple; text-decoration: underline;" class="">wy1@sanger.ac.uk</a>> wrote:<br class=""><br class=""><o:p class=""></o:p></div><blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class="" type="cite"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class=""><br class="">Hi,<br class=""><br class=""><br class=""><br class="">I want to use log file to monitor what is happening on the website, but I found the log file is not recording any more.<br class=""><br class=""><br class=""><br class="">Does anyone know where is to set the log file to keep the log? If it keep going, do we need to clear it regularly otherwise it full up the space?<o:p class=""></o:p></div></blockquote><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class=""><br class="">I am setting log options at following folders<br class=""><br class="">appdir/enviroments/developement.yml<br class="">appdir/enviroments/production.yml<br class=""><br class="">Would you please check if 'logger' is set to 'file'? If yes, perhaps<br class="">one of following may be:<br class=""><br class="">There is not enough diskspace<br class="">Permission rights of log file changed<br class=""><br class=""><br class=""><o:p class=""></o:p></div><blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class="" type="cite"><p class="MsoNormal" style="margin: 0in 0in 12pt; font-size: 12pt; font-family: 'Times New Roman';"><br class=""><br class=""><br class="">Many thanks,<br class=""><br class="">Wendy<br class=""><br class="">-- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.<br class=""><br class="">_______________________________________________<br class="">dancer-users mailing list<br class=""><a href="mailto:dancer-users@dancer.pm" style="color: purple; text-decoration: underline;" class="">dancer-users@dancer.pm</a><br class=""><a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" style="color: purple; text-decoration: underline;" class="">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><o:p class=""></o:p></p></blockquote><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class=""><br class=""><br class=""><br class="">--<span class="Apple-converted-space"> </span><br class="">Kadir Beyazlı<span style="font-family: MingLiU;" class=""><br class=""></span>Computer Engineer<span style="font-family: MingLiU;" class=""><br class=""></span>GSM : +90 535 821 50 00<span style="font-family: MingLiU;" class=""><br class=""></span>_______________________________________________<br class="">dancer-users mailing list<br class=""><a href="mailto:dancer-users@dancer.pm" style="color: purple; text-decoration: underline;" class="">dancer-users@dancer.pm</a><br class=""><a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" style="color: purple; text-decoration: underline;" class="">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br class=""><br class=""><br class=""><br class=""><br class=""><br class="">--<span class="Apple-converted-space"> </span><br class="">The Wellcome Trust Sanger Institute is operated by Genome Research<span class="Apple-converted-space"> </span><br class="">Limited, a charity registered in England with number 1021457 and a<span class="Apple-converted-space"> </span><br class="">company registered in England with number 2742969, whose registered<span class="Apple-converted-space"> </span><br class="">office is 215 Euston Road, London, NW1 2BE.<br class="">_______________________________________________<br class="">dancer-users mailing list<br class=""><a href="mailto:dancer-users@dancer.pm" style="color: purple; text-decoration: underline;" class="">dancer-users@dancer.pm</a><br class=""><a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" style="color: purple; text-decoration: underline;" class="">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><o:p class=""></o:p></div></div></blockquote></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman';" class=""><o:p class=""> </o:p></div></div></div></div></div><span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class="">-- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. _______________________________________________</span><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class="">dancer-users mailing list</span><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><a href="mailto:dancer-users@dancer.pm" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">dancer-users@dancer.pm</a><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""></div></blockquote></div><br class=""></div></body></html>