[Cartoweb-users] Log rotate

Carolin Latze carolin.latze at unifr.ch
Tue Jul 24 09:26:05 EDT 2007


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

-- 
Carolin Latze
Research Assistant

Department of Computer Science
Boulevard de Pérolles 90
CH-1700 Fribourg

phone: +41 26 300 83 30




More information about the Cartoweb-users mailing list