Hi,

Currently, WSO2 MB supports both Cassandra and Zookeeper profiles. The
"log4j.properties" file is configured to write all Cassandra related logs
to "cassandra_system.log" and all zookeeper related logs to "zookeeper.log".

We came up to a requirement where, we need to append all Cassandra logs
also to "wso2carbon.log" only when, the MB is started in Cassandra profile.
 Refer [1]

As I see, this can be get done only by maintaining two log4j properties
files with different configurations to be used in different profiles.

Is it recommended to have two log4j properties files in one MB pack? Else
do you have any other solution for this?

[1] https://wso2.org/jira/browse/MB-671

Thanks
-- 
Sewwandi Perera
Software Engineer

WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to