On Thu, Aug 14, 2014 at 4:55 PM, Waruna Jayaweera <waru...@wso2.com> wrote:

> Hi Sagara,
> Yes. We can keep our own logging-bridge.properties for BPS. But we may
> miss kernel level future changes to logging-bridge.properties file. If
> there are any changes in kernel level then we need to update product
> specific file manually.
>
> Currently we do not have any log filter for restlet component in 
> logging-bridge.properties
> file in kernel level. So is there a way append product specific
> logging-bridge.properties to kernel level file at the build time.
>

Yes during the P2 profile generation phase, while you are installing
specific BPMN feature you can edit any configuration files, we have already
used this technique in number of places. Please contact Shameera as he can
provide you more implementation level details.

Thanks !


>
> Appreciate any feedback.
>
> Thanks,
> Waruna
>
>
> On Thu, Aug 14, 2014 at 3:30 PM, Sagara Gunathunga <sag...@wso2.com>
> wrote:
>
>>
>>
>>
>> On Thu, Aug 14, 2014 at 3:04 PM, Waruna Jayaweera <waru...@wso2.com>
>> wrote:
>>
>>> Hi,
>>>
>>> Please review and merge [1]
>>>
>>> *About diff*
>>> BPMN activiti dependency Restlet (currently having INFO level) component
>>> logging relies on JDK's logging API (java.util.logging)  and need use
>>> java.util.logging.config.file to filter log messages. In carbon products
>>> java.util.logging.config.file property is set to
>>> conf/etc/logging-bridge.properties. This pull request will add
>>>
>>> *org.restlet.level=SEVERE*
>>> entry to logging-bridge.properties file in order to filter those log
>>> messages.
>>> Refer [2] for jira.
>>>
>>
>> This seems like a specific setting only required for your product then
>> can't you keep your own logging-bridge.properties file instead of adding
>> this entry to kernel level.
>>
>> Thanks !
>>
>>>
>>> [1]https://github.com/wso2-dev/carbon4-kernel/pull/65
>>> [2]https://wso2.org/jira/browse/BPS-538
>>>
>>>
>>> --
>>> Regards,
>>>
>>> Waruna Lakshitha Jayaweera
>>> Software Engineer
>>> WSO2 Inc; http://wso2.com
>>> phone: +94713255198
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Sagara Gunathunga
>>
>> Senior Technical Lead; WSO2, Inc.;  http://wso2.com
>> V.P Apache Web Services;    http://ws.apache.org/
>> Linkedin; http://www.linkedin.com/in/ssagara
>> Blog ;  http://ssagara.blogspot.com
>>
>>
>
>
> --
> Regards,
>
> Waruna Lakshitha Jayaweera
> Software Engineer
> WSO2 Inc; http://wso2.com
> phone: +94713255198
>



-- 
Sagara Gunathunga

Senior Technical Lead; WSO2, Inc.;  http://wso2.com
V.P Apache Web Services;    http://ws.apache.org/
Linkedin; http://www.linkedin.com/in/ssagara
Blog ;  http://ssagara.blogspot.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to