forked from datageartech/datagear
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
657d3d1
commit db86d9c
Showing
10 changed files
with
44 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
#--UTF-8 file-- | ||
|
||
#是否禁用匿名用户功能,禁用后,匿名用户将不能使用系统功能 | ||
#可选值:true 表示禁用;false 表示不禁用 | ||
#disableAnonymous=false | ||
|
||
#是否禁用注册功能 | ||
#可选值:true 表示禁用;false 表示不禁用 | ||
#disableRegister=false | ||
|
||
#日志级别 | ||
#ERROR, WARN, INFO, DEBUG, TRACE | ||
logging.level.root=INFO | ||
|
||
#日志路径 | ||
#日志存储路径 | ||
logging.file.name=logs/datagear.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ | |
import org.springframework.boot.Banner; | ||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
import org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration; | ||
import org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration; | ||
import org.springframework.core.env.Environment; | ||
|
||
|
@@ -22,7 +23,11 @@ | |
* @author [email protected] | ||
* | ||
*/ | ||
@SpringBootApplication(scanBasePackageClasses = WebMvcConfigurerConfig.class, exclude = ErrorMvcAutoConfiguration.class) | ||
@SpringBootApplication(scanBasePackageClasses = WebMvcConfigurerConfig.class, exclude = { | ||
// 错误页面完全自定义 | ||
ErrorMvcAutoConfiguration.class, | ||
// Freemarker完全自定义 | ||
FreeMarkerAutoConfiguration.class }) | ||
public class DataGearApplication | ||
{ | ||
public static void main(String[] args) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#--UTF-8 file-- | ||
|
||
#----------------------------------------- | ||
#当系统作为war包部署至Servlet容器时将加载这里配置项 | ||
#----------------------------------------- | ||
|
||
#日志存储路径 | ||
logging.file.name=${user.home}/.datagear_logs/datagear.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
#--UTF-8 file-- | ||
|
||
#是否禁用匿名用户功能,禁用后,匿名用户将不能使用系统功能 | ||
#可选值:true 表示禁用;false 表示不禁用 | ||
#disableAnonymous=false | ||
|
||
#是否禁用注册功能 | ||
#可选值:true 表示禁用;false 表示不禁用 | ||
#disableRegister=false | ||
|
||
#日志 | ||
#ERROR, WARN, INFO, DEBUG, TRACE | ||
#logging.level.root=DEBUG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters