(improvement)(project) Modify the log name for 'headless' and add 'headless' and 'chat' configurations to support separate deployment. (#556)

This commit is contained in:
lexluo09
2023-12-20 17:35:17 +08:00
committed by GitHub
parent 150d67f903
commit ab077df36d
5 changed files with 52 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfigurat
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
/**
* Semantic Launcher
* Headless Launcher
**/
@Slf4j
@SpringBootApplication(scanBasePackages = {"com.tencent.supersonic"},

View File

@@ -4,3 +4,5 @@ com.tencent.supersonic.auth.authentication.interceptor.AuthenticationInterceptor
com.tencent.supersonic.auth.api.authentication.adaptor.UserAdaptor=\
com.tencent.supersonic.auth.authentication.adaptor.DefaultUserAdaptor
com.tencent.supersonic.common.util.embedding.S2EmbeddingStore=\
com.tencent.supersonic.common.util.embedding.InMemoryS2EmbeddingStore

View File

@@ -3,7 +3,7 @@
<contextName>logback</contextName>
<!-- <property name="LOG_PATH" value="${logback.logdir:-logs}"/>-->
<property name="LOG_PATH" value="${LOG_PATH:-logs}"/>
<property name="LOG_APPNAME" value="semantic"/>
<property name="LOG_APPNAME" value="headless"/>
<!--输出到控制台-->
<appender name="consoleLog" class="ch.qos.logback.core.ConsoleAppender">
<encoder>