<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="">Did you restart after deleting the file?<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><blockquote type="cite" class=""><div class="">On 5 Oct 2016, at 15:14, Wanjuan Yang <<a href="mailto:wy1@sanger.ac.uk" class="">wy1@sanger.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div 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 <br class="">I change the log file to have –rwxrwxrwx permission, but still it doesn’t seem to writing anything in it.<br class=""><br class="">What problem it could be? <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" class="">dancer-users-bounces@dancer.pm</a> on behalf of <a href="mailto:kadirbeyazli@gmail.com" 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" class="">wy1@sanger.ac.uk</a>> wrote:<br class=""><blockquote type="cite" 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?<br class=""></blockquote><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=""><blockquote type="cite" class=""><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" class="">dancer-users@dancer.pm</a><br class="">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users<br class=""><br class=""></blockquote><br class=""><br class=""><br class="">-- <br class="">Kadir Beyazlı<br class="">Computer Engineer<br class="">GSM : +90 535 821 50 00<br class="">_______________________________________________<br class="">dancer-users mailing list<br class=""><a href="mailto:dancer-users@dancer.pm" class="">dancer-users@dancer.pm</a><br class="">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users<br class=""><br class=""><br class=""><br class=""><br class=""><br class="">-- <br class=""> The Wellcome Trust Sanger Institute is operated by Genome Research <br class=""> Limited, a charity registered in England with number 1021457 and a <br class=""> company registered in England with number 2742969, whose registered <br class=""> office is 215 Euston Road, London, NW1 2BE.<br class="">_______________________________________________<br class="">dancer-users mailing list<br class="">dancer-users@dancer.pm<br class="">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users<br class=""></div></blockquote></div><br class=""></div></body></html>