axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa.abeysin...@gmail.com>
Subject Re: maximum log file size 1M
Date Wed, 07 Nov 2007 07:08:43 GMT
Damitha Kumarage wrote:
> Hi Samisa,
> Samisa Abeysinghe wrote:
>
>> Damitha Kumarage wrote:
>>
>>> Hi,
>>>
>>>> So it is only two levels. Is that good enough?
>>>
>>>
>>> If this is not sufficient for our production environments, yes we 
>>> need to implement a log rotating mechanism.
>>>
>>>>
>>>> The other concern is that, the code is already commited and it was 
>>>> never discussed on this list, despite it being a major decision :)
>>>
>>>
>>> https://issues.apache.org/jira/browse/AXIS2C-732.
>>>
>>>>
>>>> Have we implemented this so that it works for all the deployment 
>>>> models like simple http/tcp servers as well as the httpd module?
>>>
>>>
>>> It is not implemented for tcp and httpd modules yet.
>>
>> I was thinking about the httpd module case, and it looks like we may 
>> have to introduce a new httpd.conf config parameter to support this.
>
> I did the following change to mod_axis2.c
>
>       ...........
>       ...........
>        else if (!strcasecmp(str, "debug"))
>        {
>            level = AXIS2_LOG_LEVEL_DEBUG;
>        }
>        else if (!strcasecmp(str, "user"))
>        {
>            level = AXIS2_LOG_LEVEL_USER;
>        }
>
> and then changed the log level in httpd.conf as follows
> Axis2LogLevel user
>
> After that when I write an user log in echo server sample it seems to 
> work. ie. write only user
> level and critical/error messages in the log file. I hope this has 
> done what we require. isn't it?
Yes and thanks for the update. This is solving the log level stuff.

My thoughts were on the lines of how to set max log file size when using 
mod apache2.

Thanks,
Samisa...
>
> Damitha
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>


-- 
Samisa Abeysinghe

http://people.apache.org/~samisa/


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message