Did you associate the appender with the loggers?
On Thu, Nov 24, 2011 at 2:47 PM, metin d <[email protected]> wrote:
> First, I added them from ui, Configure Log4J Appenders, then I tried the
> log4j.properties file. Here the related part from log4j.properties file.
>
> log4j.appender.CARBON_SYS_LOG = org.apache.log4j.net.SyslogAppender
> log4j.appender.CARBON_SYS_LOG.layout=org.apache.log4j.PatternLayout
> log4j.appender.CARBON_SYS_LOG.layout.ConversionPattern=[%d] %5p - %x %m
> {%c}%n
> log4j.appender.CARBON_SYS_LOG.SyslogHost=syslog.mycompany.com
> log4j.appender.CARBON_SYS_LOG.Facility=USER
> log4j.appender.CARBON_SYS_LOG.threshold=TRACE
>
> ------------------------------
> *From:* Afkham Azeez <[email protected]>
>
> *To:* metin d <[email protected]>; [email protected]
> *Cc:* Samisa Abeysinghe <[email protected]>
> *Sent:* Thursday, November 24, 2011 10:15 AM
>
> *Subject:* Re: [Carbon-dev] Carbon server does not send some logs to
> syslog-ng server
>
> Where did you add you syslog configuration to? Send the log4j.properties
> file.
>
>
> On Thu, Nov 24, 2011 at 12:13 PM, metin d <[email protected]> wrote:
>
> What config should I check ? Here the related logs which are written to
> local files.
>
> ESB:
>
> TID: [] [WSO2 Stratos Enterprise Service Bus] [2011-11-24 08:28:58,601]
> INFO {org.apache.axis2.clustering.tribes.TribesMembershipListener} - Member
> 10.1.1.188:4000(ESB_CLUSTER) left cluster
> {org.apache.axis2.clustering.tribes.TribesMembershipListener
> TID: [] [WSO2 Stratos Enterprise Service Bus] [2011-11-24 08:28:58,600]
> INFO {org.apache.axis2.clustering.management.DefaultGroupManagementAgent} -
> Application member Host:10.1.1.188, Port: 4000, HTTP:8280, HTTPS:8243,
> ACTIVE:true left cluster.
> {org.apache.axis2.clustering.management.DefaultGroupManagementAgent
>
> IS:
>
> TID: [] [WSO2 Stratos Identity] [2011-11-24 08:35:18,881] INFO
> {org.apache.axis2.clustering.tribes.TribesMembershipListener} - Member
> 10.1.1.190:4000(IS_CLUSTER) left cluster
> {org.apache.axis2.clustering.tribes.TribesMembershipListener}
> TID: [] [WSO2 Stratos Identity] [2011-11-24 08:35:18,881] INFO
> {org.apache.axis2.clustering.management.DefaultGroupManagementAgent} -
> Application member Host:10.1.1.190, Port: 4000, HTTP:9763, HTTPS:9443,
> ACTIVE:true left cluster.
> {org.apache.axis2.clustering.management.DefaultGroupManagementAgent
>
> ------------------------------
> *From:* Samisa Abeysinghe <[email protected]>
> *To:* metin d <[email protected]>; [email protected]
> *Sent:* Thursday, November 24, 2011 3:43 AM
> *Subject:* Re: [Carbon-dev] Carbon server does not send some logs to
> syslog-ng server
>
> This is probably a config issue.
>
> Can you double check the config? And send the config info here, if the
> problem persists.
>
> On Wed, Nov 23, 2011 at 4:22 PM, metin d <[email protected]> wrote:
>
> I have an carbon server (Identity), and I configured a log appender for a
> syslog server. It sends some of logs(admin login) to syslog server, but not
> all of them (cluster membership). By the way it logs all of them to the
> local log file.
>
> Interestingly, I have also another carbon server (ESB) with same log
> appender settings, it sends all of the logs to syslog server.
>
> What can be the problem?
>
> Thanks in advance,
> Metin
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
> Thanks,
> Samisa...
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com/
> http://wso2.org/
>
>
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
>
>
--
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev