Hi Supun and Inshaf, Thanks a great deal, I managed to get my job done following your ideas.
Regards !!! On Tue, Jan 20, 2015 at 12:26 PM, Supun Malinga <sup...@wso2.com> wrote: > Hi Chamin, > > Yes you can integrate the valve as done in [1]. make sure you specify the > valve at the end of the valves section. > > For logging into the console you can simply use log4j as described > earlier. > > thanks, > > On Tue, Jan 20, 2015 at 12:20 PM, Inshaf Mahath <ins...@wso2.com> wrote: > >> Hi Chamin, >> >> You can try on Apache Log4j [1]. Sample implementation can be found on >> [2]. Hope this will work. >> >> [1] http://logging.apache.org/log4j/2.x/ >> [2] >> https://github.com/zamly/HiveAnalyzer-CEPNotifier/blob/master/src/main/java/org/wso2/bam/hive/CEPNotifier.java >> >> >> >> Best Regards, >> >> On Tue, Jan 20, 2015 at 10:42 AM, Chamin Nalinda <cha...@wso2.com> wrote: >> >>> Hi all, >>> >>> I wrote a custom TomCat valve and now I need to integrate the valve with >>> WSO2 IS. I follow[1] and it's about hosting web app on WSO2 Application >>> server. In the case of my requirement, I host my app on Tomcat and I need >>> to log the information on IS console. >>> >>> [1] >>> http://dulanja.blogspot.com/2013/12/enabling-saml-sso-for-web-apps-hosted.html >>> >>> Regards !!! >>> >>> -- >>> *Chamin Nalinda* >>> >>> Intern - Engineering >>> WSO2 Inc. http://www.wso2.com >>> lean.enterprise.middleware >>> >>> Mobile: (+94) 77 241 66 04 >>> Linkedin: https://www.linkedin.com/in/chaminnalinda >>> Web: http://www.ckreativity.com >>> Blog: http://techspiro.blogspot.com/ >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Inshaf Mahath >> Associate Software Engineer >> Mobile: +94775907181 >> WSO2 Inc. >> Lean . Enterprise . Middleware >> >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Supun Malinga, > > Senior Software Engineer, > WSO2 Inc. > http://wso2.com > email: sup...@wso2.com <sup...@wso2.com> > mobile: +94 (0)71 56 91 321 > -- *Chamin Nalinda* Intern - Engineering WSO2 Inc. http://www.wso2.com lean.enterprise.middleware Mobile: (+94) 77 241 66 04 Linkedin: https://www.linkedin.com/in/chaminnalinda Web: http://www.ckreativity.com Blog: http://techspiro.blogspot.com/
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev