[Cartoweb-users] Log rotate

Damien Corpataux damien.corpataux at camptocamp.com
Wed Jul 25 04:18:23 EDT 2007


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:
> 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:
>   
>> Hi
>> you dont have a cartoclient.log file in folder cartoweb3/log/ ?
>>
>> regards
>> Oliver
>>
>>     
>>> 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
>>> Cartoweb-users at lists.maptools.org
>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>>
>>>       
>
>   


-- 
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20070725/2af8718c/attachment.html


More information about the Cartoweb-users mailing list