I just remembered that we have already added this in [1]. [1] https://docs.wso2.org/display/MB220/Standalone+Deployment+using+the+MB+Cassandra+Profile
Thanks, Tania On Sun, May 18, 2014 at 7:25 PM, Tania Mahanama <[email protected]> wrote: > Noted. > > Thanks, > Tania > > > On Fri, May 16, 2014 at 4:24 PM, Hasitha Hiranya <[email protected]>wrote: > >> Hi Ishara/Tania, >> >> Please note that we need to update our docs on this, if it is specific to >> MB. >> >> Thanks >> >> >> On Fri, May 16, 2014 at 11:03 AM, Ishara Premadasa <[email protected]>wrote: >> >>> Hi, >>> >>> As from WSO2 MB 2.2.0 onwards, we will be supporting a Cassandra profile >>> with MB where it will be used as the external Cassandra server. Therefore >>> it is required to enable Cassandra specific system logs with this profile >>> as these logs are heavily needed when analyzing any cassandra node issue >>> specially in a cluster. >>> >>> To address this we have added a new log4jappender for cassandra profile >>> as below from MB 2.2.0 onwards. By default this log file will be located >>> in <MB_HOME>/repository/logs/cassandra_system.log file. >>> >>> #cassandra specific >>> >>> log4j.logger.org.apache.cassandra=INFO, CASSANDRA_PROFILE >>> log4j.additivity.org.apache.cassandra=false >>> >>> log4j.appender.CASSANDRA_PROFILE=org.apache.log4j.RollingFileAppender >>> log4j.appender.CASSANDRA_PROFILE.maxFileSize=20MB >>> log4j.appender.CASSANDRA_PROFILE.Threshold=INFO >>> log4j.appender.CASSANDRA_PROFILE.layout=org.apache.log4j.PatternLayout >>> log4j.appender.CASSANDRA_PROFILE.layout.ConversionPattern=%c %5p [%t] >>> %d{ISO8601} %F (line %L) %m%n >>> # Edit the next line to point to your cassandra system logs directory >>> >>> log4j.appender.CASSANDRA_PROFILE.File=${carbon.home}/repository/logs/cassandra_system.log >>> >>> Thanks! >>> Ishara >>> >>> -- >>> Ishara Premasada >>> Software Engineer, >>> WSO2 Inc. http://wso2.com/ >>> >>> >>> *Blog : http://isharapremadasa.blogspot.com/ >>> <http://isharapremadasa.blogspot.com/> Twitter : >>> https://twitter.com/ishadil <https://twitter.com/ishadil>Mobile : +94 >>> 714445832 <%2B94%20714445832>* >>> >>> >>> >> >> >> -- >> *Hasitha Abeykoon* >> Senior Software Engineer; WSO2, Inc.; http://wso2.com >> *cell:* *+94 719363063* >> *blog: **abeykoon.blogspot.com* <http://abeykoon.blogspot.com> >> >> > > > -- > Tania Mahanama > Senior Technical Writer > > Contact: > Mob: +94 077 5129270 > -- Tania Mahanama Senior Technical Writer Contact: Mob: +94 077 5129270
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
