Erweiterungen

This commit is contained in:
2025-09-25 22:13:25 +02:00
parent 4208e5d86f
commit 8d3f8208e1
5 changed files with 29 additions and 10 deletions

4
.gitignore vendored
View File

@@ -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

View File

@@ -7,4 +7,8 @@ spring.data.mongodb.uri=mongodb://192.168.180.25:27017/votianlt_dev
vaadin.launch-browser=true 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

View File

@@ -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

View File

@@ -4,4 +4,14 @@
spring.data.mongodb.uri=mongodb://192.168.180.25:27017/votianlt 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

View File

@@ -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