<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Arial;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:MingLiU;
        panose-1:2 2 5 9 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:595.0pt 842.0pt;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Arial">Hi Clive & </span>
<span style="font-size:10.0pt;font-family:Arial">Kadir</span><span style="font-size:10.0pt;font-family:Arial">,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Thanks a lot for your advice! I found the problem now, after run lsof<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">I found I was running on production environment, although I did check the production.log before and it wasn’t updating either.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">But anyway, when I switch back to development environment, the development.log start updating now.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Thank again,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Wendy<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-family:Calibri;color:black">From: </span>
</b><span style="font-family:Calibri;color:black">dancer-users <dancer-users-bounces@dancer.pm> on behalf of Clive Eisen <clive@hildebrand.co.uk><br>
<b>Reply-To: </b>Perl Dancer users mailing list <dancer-users@dancer.pm><br>
<b>Date: </b>Wednesday, October 5, 2016 at 3:38 PM<br>
<b>To: </b>Perl Dancer users mailing list <dancer-users@dancer.pm><br>
<b>Subject: </b>Re: [dancer-users] log file stop recording<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">run lsof and see what files the process has open <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:Helvetica;color:black">--<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Helvetica;color:black">Clive Eisen<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Helvetica;color:black">GPG: 75056DD0<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Helvetica;color:black"><o:p> </o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-family:Helvetica;color:black"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-family:Helvetica;color:black"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-family:Helvetica;color:black"><br>
<br>
</span><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On 5 Oct 2016, at 15:33, Wanjuan Yang <<a href="mailto:wy1@sanger.ac.uk">wy1@sanger.ac.uk</a>> wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:Calibri">I did restart the server many times since I delete the log file and create a new one.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
</div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<div>
<p class="MsoNormal" style="background:white"><b><span style="font-family:Calibri">From:<span class="apple-converted-space"> </span></span></b><span style="font-family:Calibri">dancer-users <<a href="mailto:dancer-users-bounces@dancer.pm"><span style="color:purple">dancer-users-bounces@dancer.pm</span></a>>
 on behalf of Clive Eisen <<a href="mailto:clive@hildebrand.co.uk"><span style="color:purple">clive@hildebrand.co.uk</span></a>><br>
<b>Reply-To:<span class="apple-converted-space"> </span></b>Perl Dancer users mailing list <<a href="mailto:dancer-users@dancer.pm"><span style="color:purple">dancer-users@dancer.pm</span></a>><br>
<b>Date:<span class="apple-converted-space"> </span></b>Wednesday, October 5, 2016 at 3:29 PM<br>
<b>To:<span class="apple-converted-space"> </span></b>Perl Dancer users mailing list <<a href="mailto:dancer-users@dancer.pm"><span style="color:purple">dancer-users@dancer.pm</span></a>><br>
<b>Subject:<span class="apple-converted-space"> </span></b>Re: [dancer-users] log file stop recording</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="background:white">Did you restart after deleting the file?<span class="apple-converted-space"> </span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"> <o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Helvetica">--</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Helvetica">Clive Eisen</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Helvetica">GPG: 75056DD0</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Helvetica"> </span><o:p></o:p></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Helvetica"> </span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Helvetica"> </span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:Helvetica"><br>
<br>
<br>
</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="background:white"> <o:p></o:p></p>
</div>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="background:white">On 5 Oct 2016, at 15:14, Wanjuan Yang <<a href="mailto:wy1@sanger.ac.uk"><span style="color:purple">wy1@sanger.ac.uk</span></a>> wrote:<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="background:white"> <o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white">Hi Kadir,<br>
<br>
Many thanks for your reply!<br>
<br>
The development.yml does have the following:<br>
<br>
# the logger engine to use<br>
#console: log messages to STDOUT (your console where you started the<br>
#          application server)<br>
# file:    log message to a file in log/<br>
logger: "file"<br>
<br>
# the log level for this environment<br>
# core is the lowest, it shows Dancer's core log messages as well as yours<br>
# (debug, info, warning and error)<br>
log: "debug"<br>
<br>
# should Dancer consider warnings as critical errors?<br>
warnings: 0<br>
<br>
# should Dancer show a stacktrace when an error is caught?<br>
show_errors: 1<br>
<br>
I check the space with<br>
df -h /data/<br>
Filesystem             Size  Used Avail Use% Mounted on<br>
/dev/mapper/apps-data   30G  3.7G   27G  13% /data<br>
<br>
So it looks like still have space.<br>
<br>
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>
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"><br>
<br>
</span>What problem it could be?<span class="apple-converted-space"> </span><br>
<br>
Many thanks,<br>
Wendy<br>
<br>
<br>
On 10/5/16, 1:52 PM, "dancer-users on behalf of Kadir Beyazlı" <<a href="mailto:dancer-users-bounces@dancer.pm"><span style="color:purple">dancer-users-bounces@dancer.pm</span></a><span class="apple-converted-space"> </span>on behalf of<span class="apple-converted-space"> </span><a href="mailto:kadirbeyazli@gmail.com"><span style="color:purple">kadirbeyazli@gmail.com</span></a>>
 wrote:<br>
<br>
Hi Wanjuan<br>
<br>
On Wed, Oct 5, 2016 at 1:31 PM, Wanjuan Yang <<a href="mailto:wy1@sanger.ac.uk"><span style="color:purple">wy1@sanger.ac.uk</span></a>> wrote:<br>
<br>
<br>
<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="background:white"><br>
Hi,<br>
<br>
<br>
<br>
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>
<br>
<br>
<br>
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></o:p></p>
</div>
</blockquote>
<div>
<p class="MsoNormal" style="background:white"><br>
I am setting log options at following folders<br>
<br>
appdir/enviroments/developement.yml<br>
appdir/enviroments/production.yml<br>
<br>
Would you please check if 'logger' is set to 'file'? If yes, perhaps<br>
one of following may be:<br>
<br>
There is not enough diskspace<br>
Permission rights of log file changed<br>
<br>
<br>
<br>
<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><br>
<br>
<br>
Many thanks,<br>
<br>
Wendy<br>
<br>
-- 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>
<br>
_______________________________________________<br>
dancer-users mailing list<br>
<a href="mailto:dancer-users@dancer.pm"><span style="color:purple">dancer-users@dancer.pm</span></a><br>
<a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users"><span style="color:purple">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</span></a><o:p></o:p></p>
</blockquote>
<div>
<p class="MsoNormal" style="background:white"><br>
<br>
<br>
--<span class="apple-converted-space"> </span><br>
Kadir Beyazlı<span style="font-family:MingLiU"><br>
</span>Computer Engineer<span style="font-family:MingLiU"><br>
</span>GSM : +90 535 821 50 00<span style="font-family:MingLiU"><br>
</span>_______________________________________________<br>
dancer-users mailing list<br>
<a href="mailto:dancer-users@dancer.pm"><span style="color:purple">dancer-users@dancer.pm</span></a><br>
<a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users"><span style="color:purple">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</span></a><br>
<br>
<br>
<br>
<br>
<br>
--<span class="apple-converted-space"> </span><br>
The Wellcome Trust Sanger Institute is operated by Genome Research<span class="apple-converted-space"> </span><br>
Limited, a charity registered in England with number 1021457 and a<span class="apple-converted-space"> </span><br>
company registered in England with number 2742969, whose registered<span class="apple-converted-space"> </span><br>
office is 215 Euston Road, London, NW1 2BE.<br>
_______________________________________________<br>
dancer-users mailing list<br>
<a href="mailto:dancer-users@dancer.pm"><span style="color:purple">dancer-users@dancer.pm</span></a><br>
<a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users"><span style="color:purple">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</span></a><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
<div>
<p class="MsoNormal" style="background:white"> <o:p></o:p></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica;background:white">-- 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><span style="font-size:10.5pt;font-family:Helvetica"><br>
<span style="background:white">dancer-users mailing list</span><br>
</span><a href="mailto:dancer-users@dancer.pm"><span style="font-size:10.5pt;font-family:Helvetica;color:purple;background:white">dancer-users@dancer.pm</span></a><span style="font-size:10.5pt;font-family:Helvetica"><br>
</span><a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users"><span style="font-size:10.5pt;font-family:Helvetica;color:purple;background:white">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</span></a><o:p></o:p></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>



-- 
 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. 

</body>
</html>