<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Carolin,<br>
<br>
You're right, logs should rotate since the lib enables it. I'm afraid I
can't give you a strightforward answer for I never used that
functionality. You should do some debugging to see if the config
parameter is taken into account by the lib.<br>
<br>
My 2 cents,<br>
Damien<br>
<br>
<br>
Carolin Latze wrote:
<blockquote cite="mid46B185CC.8090806@unifr.ch" type="cite">
<pre wrap="">Hi Damien,
sorry for the late reply, I had no time to work on my project.
I'm afraid, we have to use a Windows Server :( But if Cartoweb is not
able to rotate, what is this LoggerAppenderDailyFile.php for? Do I have
to implement it by myself?
Thanks and Bye
Carolin
Damien Corpataux wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Carolin,
CartoWeb logs do not rotate. Logs are simply appended to the
cartoclient.log file. If you want to rotate, you can create a daily
cron script that moves cartoclient.log to cartoclient_[somedate].log
Reagrds,
Damien
Carolin Latze wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Oliver,
I have this file, but it does not rotate ;-) From my understanding, this
file should change everyday, which means I should have a log file for
every day, the application is running (and logging). Am I wrong?
Regards
Carolin
Oliver Christen wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi
you dont have a cartoclient.log file in folder cartoweb3/log/ ?
regards
Oliver
</pre>
<blockquote type="cite">
<pre wrap="">Hi all,
I want to switch on logrotate for the cartoclient.log. Therefore, I
adapted the cartoweb3/client_conf/cartoclientLogger.properties file:
; Uncomment to enable logging
log4php.rootLogger=DEBUG, A1
; logging using logrotate
log4php.appender.A1=LoggerAppenderDailyFile
log4php.appender.A1.file="LOG_HOME/cartoclient.log"
log4php.appender.A1.layout=LoggerLayoutTTCC
I think, this should work, but it does not. :-) Unfortunately, the
webpage, containing the doc for log4php does not work and I did not find
tutorials, which helped me to solve this problem. That's why I ask you
to give me a hint ;-)
Thanks in advance
Carolin
--
Carolin Latze
Research Assistant
Department of Computer Science
Boulevard de Pérolles 90
CH-1700 Fribourg
phone: +41 26 300 83 30
_______________________________________________
Cartoweb-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</a>
<a class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/cartoweb-users">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a>
</pre>
</blockquote>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">
--
Camptocamp SA
Damien Corpataux
PSE A
CH-1015 Lausanne
+41 21 619 10 22 (Direct)
+41 21 619 10 10 (Centrale)
+41 21 619 10 00 (Fax)
P Please consider the environment
Do you really need to print this email?
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<style>
<!--
.signature {
font-family:verdana,helvetica,sans-serif;
font-size:0.8em;
line-height: 1.25em;
color: #9999BB;
width: 27em;
}
.signature div {
padding: 0.22em;
margin-bottom: 0.5em;
margin-top: 0.5em;
border-bottom: 1px dotted lightgray;
background-color: #FCFCFF;
}
.signature .attention {
background-color: #FFFAFA;
color: #FFBBBB;
font-size: 0.8em;
font-weight: bold;
}
.header {
}
-->
</style>
<div class="signature">
<div> <span style="font-weight: bold;">Camptocamp SA</span><br>
Damien Corpataux<br>
PSE A<br>
CH-1015 Lausanne<br>
</div>
<div> +41 21 619 10 22 <span class="header">(Direct)</span><br>
+41 21 619 10 10 <span class="header">(Centrale)</span><br>
+41 21 619 10 00 <span class="header">(Fax)</span><br>
</div>
<div style="color: rgb(102, 204, 102);"> <span
style="position: relative; top: -3px; font-family: Webdings; font-size: 24pt;">P</span>
<span style="">Please consider the environment <br>
Do you really need to print this email?</span>
</div>
</div>
</div>
</body>
</html>