<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:"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.EmailStyle18
{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:11.0pt;font-family:Calibri">I did restart the server many times since I delete the log file and create a new one.<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:29 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">Did you restart after deleting the file? <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:14, 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>
<p class="MsoNormal">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
<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? <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">dancer-users-bounces@dancer.pm</a> on behalf of
<a href="mailto:kadirbeyazli@gmail.com">kadirbeyazli@gmail.com</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">wy1@sanger.ac.uk</a>> wrote:<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><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>
</blockquote>
<p class="MsoNormal"><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>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt"><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">dancer-users@dancer.pm</a><br>
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
<br>
<br>
-- <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">dancer-users@dancer.pm</a><br>
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users<br>
<br>
<br>
<br>
<br>
<br>
-- <br>
The Wellcome Trust Sanger Institute is operated by Genome Research <br>
Limited, a charity registered in England with number 1021457 and a <br>
company registered in England with number 2742969, whose registered <br>
office is 215 Euston Road, London, NW1 2BE.<br>
_______________________________________________<br>
dancer-users mailing list<br>
dancer-users@dancer.pm<br>
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users<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>