log4j.properties 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ## ------------------------------------------------------------------------
  2. ## Licensed to the Apache Software Foundation (ASF) under one or more
  3. ## contributor license agreements. See the NOTICE file distributed with
  4. ## this work for additional information regarding copyright ownership.
  5. ## The ASF licenses this file to You under the Apache License, Version 2.0
  6. ## (the "License"); you may not use this file except in compliance with
  7. ## the License. You may obtain a copy of the License at
  8. ##
  9. ## http://www.apache.org/licenses/LICENSE-2.0
  10. ##
  11. ## Unless required by applicable law or agreed to in writing, software
  12. ## distributed under the License is distributed on an "AS IS" BASIS,
  13. ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. ## See the License for the specific language governing permissions and
  15. ## limitations under the License.
  16. ## ------------------------------------------------------------------------
  17. #
  18. # The logging properties used for testing.
  19. #
  20. log4j.rootLogger=INFO, stdout, jms
  21. # uncomment the following to enable camel debugging
  22. #log4j.logger.org.apache.camel.component.http4=DEBUG
  23. # CONSOLE appender not used by default
  24. log4j.logger.org.apache.activemq=INFO, stdout
  25. log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  26. log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  27. log4j.appender.stdout.layout.ConversionPattern=%d %-5p %c - %m%n
  28. log4j.appender.jms=org.apache.log4j.net.JMSAppender
  29. log4j.appender.jms.InitialContextFactoryName=org.apache.activemq.jndi.ActiveMQInitialContextFactory
  30. log4j.appender.jms.ProviderURL=tcp://172.19.103.86:61616
  31. log4j.appender.jms.TopicBindingName=logTopic
  32. log4j.appender.jms.TopicConnectionFactoryBindingName=ConnectionFactory
  33. log4j.appender.jms.layout=org.apache.log4j.patternLayout
  34. log4j.appender.jms.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - camel.exchangeId:%-10.10X{camel.exchangeId} - camel.routeId:%-10.10X{camel.routeId} - %m%n
  35. log4j.appender.jms.userName=admin
  36. log4j.appender.jms.password=admin