Graylog doesn't getting any log

Hi All,
I was referring the follwing below link for logs from JBoss application.
http://logging.paluch.biz/examples/jbossas7.html

Application got stated successfully but unable to fetch logs. Can any one provide steps or reference to confifgure logs from JBoss as well as wildfly applications.

Thanks,
Manish Kumar

Please post the complete configuration of all relevant components.

configure for standalone.xml is

			<custom-handler name="GelfLogger" class="biz.paluch.logging.gelf.wildfly.WildFlyGelfLogHandler" module="biz.paluch.logging">
			<level name="INFO" />
			<properties>
				<property name="host" value="udp:192.168.50.67" />
				<property name="port" value="12201" />
				<property name="version" value="1.1" />
				<property name="facility" value="java-test" />
				<property name="extractStackTrace" value="true" />
				<property name="filterStackTrace" value="true" />
				<property name="mdcProfiling" value="true" />
				<property name="timestampPattern" value="yyyy-MM-dd HH:mm:ss,SSSS" />
				<property name="maximumMessageSize" value="8192" />
				
				<!-- This are static fields 
				<property name="additionalFields" value="fieldName1=fieldValue1,fieldName2=fieldValue2" />
				-->
				<!-- Optional: Specify field types 
				<property name="additionalFieldTypes" value="fieldName1=String,fieldName2=Double,fieldName3=Long" />
				-->
				<!-- This are fields using MDC 
				<property name="mdcFields" value="mdcField1,mdcField2" />
				<property name="dynamicMdcFields" value="mdc.*,(mdc|MDC)fields" />
				<property name="includeFullMdc" value="true" />
				-->
			</properties>
			</custom-handler>

module.xml config is:-

<module xmlns="urn:jboss:module:1.3" name="org.jboss.log4j.logmanager">
    <resources>
        <resource-root path="log4j-jboss-logmanager-1.1.0.Final.jar"/>
        <resource-root path="logstash-gelf-1.11.2.jar" />
        <resource-root path="jedis-2.9.0.jar" />
        <resource-root path="commons-pool2-2.4.3.jar" />
    </resources>

    <dependencies>
        <module name="javax.api"/>
        <module name="javax.mail.api" optional="true"/>
        <module name="javax.jms.api" optional="true"/>
        <module name="org.dom4j" optional="true"/>
        <module name="org.jboss.logmanager"/>
        <module name="org.jboss.modules"/>
        <module name="org.apache.log4j" />
        <module name="org.slf4j" />
        <module name="javax.api" />
        <module name="org.jboss.logmanager" />
		</dependencies>
</module>

Below are the .jar files I have used :-
log4j-jboss-logmanager-1.1.0.Final.jar
logstash-gelf-1.11.2.jar
jedis-2.9.0.jar
commons-pool2-2.4.3.jar

			<custom-handler name="GelfLogger" class="biz.paluch.logging.gelf.wildfly.WildFlyGelfLogHandler" module="biz.paluch.logging">
			<level name="INFO" />
			<properties>
				<property name="host" value="udp:192.168.50.67" />
				<property name="port" value="12201" />
				<property name="version" value="1.1" />
				<property name="facility" value="java-test" />
				<property name="extractStackTrace" value="true" />
				<property name="filterStackTrace" value="true" />
				<property name="mdcProfiling" value="true" />
				<property name="timestampPattern" value="yyyy-MM-dd HH:mm:ss,SSSS" />
				<property name="maximumMessageSize" value="8192" />
				
				<!-- This are static fields 
				<property name="additionalFields" value="fieldName1=fieldValue1,fieldName2=fieldValue2" />
				-->
				<!-- Optional: Specify field types 
				<property name="additionalFieldTypes" value="fieldName1=String,fieldName2=Double,fieldName3=Long" />
				-->
				<!-- This are fields using MDC 
				<property name="mdcFields" value="mdcField1,mdcField2" />
				<property name="dynamicMdcFields" value="mdc.*,(mdc|MDC)fields" />
				<property name="includeFullMdc" value="true" />
				-->
			</properties>
			</custom-handler>

we are using wildfly8.2.1 for client site

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.