Skip to content

Commit

Permalink
Add reference to log4j.properties to quickstart examples
Browse files Browse the repository at this point in the history
  • Loading branch information
gfinocchiaro committed Mar 21, 2024
1 parent bc656aa commit f697f18
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 0 deletions.
24 changes: 24 additions & 0 deletions examples/compose-templates/log4j.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

log4j.logger.com.lightstreamer.kafka_connector.adapters.pub.KafkaConnectorMetadataAdapter=DEBUG, stdout
log4j.logger.org.apache.kafka=WARN, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%d] [%-10c{1}] %-5p %m%n
log4j.appender.stdout.Target=System.out

# QuickStart logger
log4j.logger.QuickStart=INFO, stdout
1 change: 1 addition & 0 deletions examples/quickstart-confluent-cloud/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ services:
volumes:
- ./web:/lightstreamer/pages/QuickStart
- ./adapters.xml:/lightstreamer/adapters/lightstreamer-kafka-connector-${version}/adapters.xml
- ./log4j.properties:/lightstreamer/adapters/lightstreamer-kafka-connector-${version}/log4j.properties

producer:
container_name: producer
Expand Down
1 change: 1 addition & 0 deletions examples/quickstart-confluent-cloud/log4j.properties
1 change: 1 addition & 0 deletions examples/quickstart-schema-registry/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ services:
volumes:
- ./web:/lightstreamer/pages/QuickStart
- ./adapters.xml:/lightstreamer/adapters/lightstreamer-kafka-connector-${version}/adapters.xml
- ./log4j.properties:/lightstreamer/adapters/lightstreamer-kafka-connector-${version}/log4j.properties
- ./secrets/kafka-connector:/lightstreamer/adapters/lightstreamer-kafka-connector-${version}/secrets

producer:
Expand Down
1 change: 1 addition & 0 deletions examples/quickstart-schema-registry/log4j.properties
1 change: 1 addition & 0 deletions examples/quickstart-ssl/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ services:
volumes:
- ./web:/lightstreamer/pages/QuickStart
- ./adapters.xml:/lightstreamer/adapters/lightstreamer-kafka-connector-${version}/adapters.xml
- ./log4j.properties:/lightstreamer/adapters/lightstreamer-kafka-connector-${version}/log4j.properties
- ./secrets/kafka-connector:/lightstreamer/adapters/lightstreamer-kafka-connector-${version}/secrets

producer:
Expand Down
1 change: 1 addition & 0 deletions examples/quickstart-ssl/log4j.properties
1 change: 1 addition & 0 deletions examples/quickstart/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ services:
- 8080:8080
volumes:
- ./web:/lightstreamer/pages/QuickStart
- ./log4j.properties:/lightstreamer/adapters/lightstreamer-kafka-connector-${version}/log4j.properties

producer:
container_name: producer
Expand Down
1 change: 1 addition & 0 deletions examples/quickstart/log4j.properties

0 comments on commit f697f18

Please sign in to comment.