Use SLF4JBridgeHandler in SuggestCreator
This commit is contained in:
parent
25130a3aab
commit
0e3e137cf2
2 changed files with 5 additions and 2 deletions
3
pom.xml
3
pom.xml
|
@ -54,7 +54,7 @@
|
|||
<crawler.version>3.4.3-SNAPSHOT</crawler.version>
|
||||
|
||||
<!-- Suggest -->
|
||||
<suggest.version>7.4.1</suggest.version>
|
||||
<suggest.version>7.4.2-SNAPSHOT</suggest.version>
|
||||
|
||||
<!-- Elasticsearch -->
|
||||
<elasticsearch.version>7.4.2</elasticsearch.version>
|
||||
|
@ -1392,6 +1392,7 @@
|
|||
<groupId>org.apache.tomcat.embed</groupId>
|
||||
<artifactId>tomcat-embed-core</artifactId>
|
||||
<version>${tomcat.version}</version>
|
||||
<!-- Disable scope at development on IDEA -->
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency><!-- for jsp -->
|
||||
|
|
|
@ -45,6 +45,7 @@ import org.lastaflute.di.core.external.GenericExternalContextComponentDefRegiste
|
|||
import org.lastaflute.di.core.factory.SingletonLaContainerFactory;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.slf4j.bridge.SLF4JBridgeHandler;
|
||||
|
||||
public class SuggestCreator {
|
||||
|
||||
|
@ -81,8 +82,9 @@ public class SuggestCreator {
|
|||
}
|
||||
|
||||
public static void main(final String[] args) {
|
||||
final Options options = new Options();
|
||||
SLF4JBridgeHandler.install();
|
||||
|
||||
final Options options = new Options();
|
||||
final CmdLineParser parser = new CmdLineParser(options);
|
||||
try {
|
||||
parser.parseArgument(args);
|
||||
|
|
Loading…
Add table
Reference in a new issue