# Production-specific configuration

# MongoDB - Production database
spring.data.mongodb.uri=${MONGODB_URI}

# Disable browser launch in production
vaadin.launch-browser=false

# Sessions über Neustarts persistieren: Nutzer bleiben nach einem
# Deployment/Neustart eingeloggt. Nach inkompatiblen Code-Änderungen verwirft
# Tomcat die alte SESSIONS.ser mit einer harmlosen Log-Warnung.
server.servlet.session.persistent=true

# 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

# Debug logging for AI/LLM troubleshooting (can be disabled after debugging)
logging.level.org.springframework.ai=DEBUG
logging.level.org.springframework.web.client.RestTemplate=DEBUG
logging.level.org.springframework.web.client.RestClient=DEBUG
logging.level.org.apache.http=DEBUG
logging.level.org.apache.http.wire=DEBUG
logging.level.org.apache.http.headers=DEBUG
# Java HTTP Client logging
logging.level.jdk.httpclient=DEBUG
logging.level.java.net.http=DEBUG
# Spring HTTP logging
logging.level.org.springframework.http.client=DEBUG
logging.level.de.assecutor.votianlt.ai=DEBUG