activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Chandler <pech...@sandia.gov>
Subject Re: activemq-artemis & JNDI & Spring Boot & log4j2 & JMS Appender.
Date Tue, 19 Mar 2019 00:37:01 GMT
Justin,

Got it working. Thanks!


1. remove logback from spring boot.
           <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-starter-logging</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
2. Add artemis and log4j
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-artemis</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-log4j2</artifactId>
        </dependency>
3. Configure property files (see attached). 



ArtemisLogging.docx
<http://activemq.2283324.n4.nabble.com/file/t379443/ArtemisLogging.docx>  



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Mime
View raw message