{# app/templates/admin/settings.html #} {% extends "admin/base.html" %} {% from 'shared/macros/alerts.html' import alert_dynamic, error_state %} {% from 'shared/macros/headers.html' import page_header_refresh %} {% from 'shared/macros/tabs.html' import tabs_nav, tab_button %} {% from 'shared/macros/inputs.html' import number_stepper %} {% block title %}Platform Settings{% endblock %} {% block alpine_data %}adminSettings(){% endblock %} {% block content %} {{ page_header_refresh('Platform Settings') }} {{ alert_dynamic(type='success', title='Success', message_var='successMessage', show_condition='successMessage') }} {{ error_state('Error', show_condition='error') }} {% call tabs_nav() %} {{ tab_button('logging', 'Logging', icon='document-text') }} {{ tab_button('system', 'System', icon='cog') }} {{ tab_button('security', 'Security', icon='shield-check') }} {% endcall %}

Logging Configuration

Configure application logging behavior, file rotation, and retention policies.

Changes take effect immediately without restart.

{{ number_stepper(model='logSettings.log_file_max_size_mb', min=1, max=1000, step=10, label='Max File Size') }}

Log file will rotate when it reaches this size.

{{ number_stepper(model='logSettings.log_file_backup_count', min=0, max=50, step=1, label='Backup File Count') }}

Number of rotated backup files to keep.

{{ number_stepper(model='logSettings.db_log_retention_days', min=1, max=365, step=7, label='Retention Days') }}

Logs older than this will be automatically deleted from database.

File Logging

Write logs to rotating files on disk

Database Logging

Store WARNING/ERROR/CRITICAL logs in database for searching

File rotation settings require application restart to take effect.

Quick Actions

View Logs

System Configuration

General system settings and configuration options.

System settings coming soon...

Security Configuration

Security and authentication settings.

Security settings coming soon...

{% endblock %} {% block extra_scripts %} {% endblock %}