[Cartoweb-users] Log rotate

Carolin Latze carolin.latze at unifr.ch
Thu Aug 2 03:20:44 EDT 2007


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

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