Erweiterungen
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -12,3 +12,7 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
src/main/frontend/generated/
|
src/main/frontend/generated/
|
||||||
vite.generated.ts
|
vite.generated.ts
|
||||||
|
|
||||||
|
# Log files
|
||||||
|
logs/
|
||||||
|
*.log
|
||||||
|
|||||||
@@ -8,3 +8,7 @@ vaadin.launch-browser=true
|
|||||||
|
|
||||||
# Development logging levels
|
# Development logging levels
|
||||||
logging.level.de.assecutor.votianlt=DEBUG
|
logging.level.de.assecutor.votianlt=DEBUG
|
||||||
|
logging.level.root=INFO
|
||||||
|
|
||||||
|
# Development file logging - more verbose
|
||||||
|
logging.file.name=logs/votianlt-dev.log
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
# Production Configuration
|
|
||||||
# 2FA Configuration - Aktiviert für Produktion
|
|
||||||
app.security.two-factor.enabled=true
|
|
||||||
|
|
||||||
# Production-specific settings
|
|
||||||
logging.level.root=WARN
|
|
||||||
logging.level.de.assecutor.votianlt=INFO
|
|
||||||
|
|
||||||
@@ -5,3 +5,13 @@ spring.data.mongodb.uri=mongodb://192.168.180.25:27017/votianlt
|
|||||||
|
|
||||||
# Disable browser launch in production
|
# Disable browser launch in production
|
||||||
vaadin.launch-browser=false
|
vaadin.launch-browser=false
|
||||||
|
|
||||||
|
# 2FA Configuration - Enabled for production
|
||||||
|
app.security.two-factor.enabled=true
|
||||||
|
|
||||||
|
# Production logging configuration
|
||||||
|
logging.level.de.assecutor.votianlt=INFO
|
||||||
|
logging.level.root=WARN
|
||||||
|
logging.file.name=logs/votianlt-production.log
|
||||||
|
logging.file.max-size=50MB
|
||||||
|
logging.file.max-history=90
|
||||||
@@ -3,10 +3,19 @@ server.address=0.0.0.0
|
|||||||
|
|
||||||
# Default active profile
|
# Default active profile
|
||||||
spring.profiles.active=dev
|
spring.profiles.active=dev
|
||||||
|
|
||||||
|
# Logging configuration
|
||||||
logging.level.org.atmosphere=warn
|
logging.level.org.atmosphere=warn
|
||||||
logging.level.de.assecutor.votianlt=INFO
|
logging.level.de.assecutor.votianlt=INFO
|
||||||
logging.level.de.assecutor.votianlt.controller.MessageController=DEBUG
|
logging.level.de.assecutor.votianlt.controller.MessageController=DEBUG
|
||||||
logging.level.de.assecutor.votianlt.config.MongoConfig=DEBUG
|
logging.level.de.assecutor.votianlt.config.MongoConfig=DEBUG
|
||||||
|
|
||||||
|
# File logging configuration
|
||||||
|
logging.file.name=logs/votianlt.log
|
||||||
|
logging.logback.rollingpolicy.max-file-size=10MB
|
||||||
|
logging.logback.rollingpolicy.max-history=30
|
||||||
|
logging.pattern.file=%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
|
||||||
|
logging.pattern.console=%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
|
||||||
spring.mustache.check-template-location=false
|
spring.mustache.check-template-location=false
|
||||||
|
|
||||||
# Launch the default browser when starting the application in development mode
|
# Launch the default browser when starting the application in development mode
|
||||||
|
|||||||
Reference in New Issue
Block a user