-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yml
More file actions
35 lines (31 loc) · 930 Bytes
/
config.yml
File metadata and controls
35 lines (31 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
server:
applicationConnectors:
- type: http
port: 8080
adminConnectors:
- type: http
port: 8081
logging:
level: INFO
appenders:
- type: console
logFormat: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"
- type: file
currentLogFilename: ./logs/logscope.log
archivedLogFilenamePattern: ./logs/logscope-%d.log.gz
archivedFileCount: 7
aws:
region: ${AWS_REGION:-us-east-1}
accessKeyId: ${AWS_ACCESS_KEY_ID:-}
secretAccessKey: ${AWS_SECRET_ACCESS_KEY:-}
profileName: ${AWS_PROFILE:-}
useDefaultCredentialsProvider: true
database:
path: ${DATABASE_PATH:-./data/logscope.db}
maxConnections: ${DATABASE_MAX_CONNECTIONS:-10}
retentionDays: ${LOG_RETENTION_DAYS:-30}
alerting:
enabled: ${ALERTING_ENABLED:-true}
errorThreshold: ${ALERT_ERROR_THRESHOLD:-10}
windowMinutes: ${ALERT_WINDOW_MINUTES:-5}
webhookUrl: ${ALERT_WEBHOOK_URL:-}