forked from lyft/presto-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gateway-ha-config.yml
49 lines (41 loc) · 1.05 KB
/
gateway-ha-config.yml
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
45
46
47
48
49
requestRouter:
port: 8080
name: prestoRouter
historySize: 1000
dataStore:
jdbcUrl: jdbc:mysql://127.0.0.1:3306/prestogateway
user: root
password: root123
driver: com.mysql.cj.jdbc.Driver
server:
applicationConnectors:
- type: http
port: 8090
adminConnectors:
- type: http
port: 8091
notifier:
smtpHost: localhost
smtpPort: 587
sender: [email protected]
recipients:
modules:
- com.lyft.data.gateway.ha.module.HaGatewayProviderModule
managedApps:
- com.lyft.data.gateway.ha.GatewayManagedApp
# Logging settings.
logging:
# The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
level: INFO
# Logger-specific levels.
loggers:
com.lyft: DEBUG
appenders:
- type: console
- type: file
currentLogFilename: /var/log/prestoproxy/prestoproxy-java.log
archivedLogFilenamePattern: /var/log/prestoproxy/prestoproxy-java-%d{yyyy-MM-dd}-%i.log.gz
archivedFileCount: 7
timeZone: UTC
maxFileSize: 100MB