Skip to content

Commit 4f7748a

Browse files
committed
1. Fixed incorrect fully qualified name of the main function in the demo plugin.
2. Added project console log.
1 parent aec3ad1 commit 4f7748a

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Licensed to the Apache Software Foundation (ASF) under one
4+
~ or more contributor license agreements. See the NOTICE file
5+
~ distributed with this work for additional information
6+
~ regarding copyright ownership. The ASF licenses this file
7+
~ to you under the Apache License, Version 2.0 (the
8+
~ "License"); you may not use this file except in compliance
9+
~ with the License. You may obtain a copy of the License at
10+
~
11+
~ http://www.apache.org/licenses/LICENSE-2.0
12+
~
13+
~ Unless required by applicable law or agreed to in writing,
14+
~ software distributed under the License is distributed on an
15+
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
~ KIND, either express or implied. See the License for the
17+
~ specific language governing permissions and limitations
18+
~ under the License.
19+
-->
20+
21+
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22+
monitorInterval="5"
23+
xmlns="http://logging.apache.org/log4j/2.0/config"
24+
xsi:schemaLocation="http://logging.apache.org/log4j/2.0/config
25+
http://logging.apache.org/log4j/2.0/log4j-config-2.14.1.xsd">
26+
27+
<Appenders>
28+
<Console name="stdout" target="SYSTEM_OUT">
29+
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n"/>
30+
<ThresholdFilter level="INFO" onMatch="ACCEPT" onMismatch="DENY"/>
31+
</Console>
32+
</Appenders>
33+
34+
<Loggers>
35+
<Root level="info">
36+
<AppenderRef ref="stdout"/>
37+
</Root>
38+
</Loggers>
39+
</Configuration>

build/build-plugin-demo/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
<properties>
3434
<plugin.id>bifromq-demo-plugin</plugin.id>
35-
<plugin.class>org.apache.demo.plugin.DemoPlugin</plugin.class>
35+
<plugin.class>org.apache.bifromq.demo.plugin.DemoPlugin</plugin.class>
3636
</properties>
3737
<dependencies>
3838
<dependency>

0 commit comments

Comments
 (0)