-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.yaml
More file actions
44 lines (39 loc) · 986 Bytes
/
config.yaml
File metadata and controls
44 lines (39 loc) · 986 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
36
37
38
39
40
41
42
43
44
appName: Observer Pattern Demo
environment: demo
# Event Logger Configuration - demonstrates comprehensive logging setup
eventlogger:
enabled: true
logLevel: DEBUG
format: structured
bufferSize: 50
flushInterval: 2s
includeMetadata: true
includeStackTrace: false
# Log specific event types (uncomment to filter)
# eventTypeFilters:
# - module.registered
# - service.registered
# - user.created
# - user.login
outputTargets:
# Console output with colors and timestamps
- type: console
level: DEBUG
format: structured
console:
useColor: true
timestamps: true
# File output for persistent logging (uncomment to enable)
# - type: file
# level: INFO
# format: json
# file:
# path: ./observer-events.log
# maxSize: 10
# maxBackups: 3
# maxAge: 7
# compress: true
# User Module Configuration
userModule:
maxUsers: 100
logLevel: INFO