-
Notifications
You must be signed in to change notification settings - Fork 36
/
mbexchange-heroku.yml
65 lines (45 loc) · 1.8 KB
/
mbexchange-heroku.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Heroku injects the port value
# Define the client settings for connecting to upstream data services
httpClient:
timeout: 60s # Timeout while connecting, reading, or writing (Heroku needs large value for spin-up)
timeToLive: 10m # Keep connections open
cookiesEnabled: true # Track cookies
gzipEnabled: true # Allow for gzipped request and response entities
minThreads: 1
maxThreads: 128 # Thread pool for JerseyClient's async requests
logging:
level: WARN
# Logger-specific levels.
loggers:
# Set specific levels
"com.sun.jersey.api.client": DEBUG
"com.yammer": INFO
"uk.co.froot": DEBUG
# Settings for logging to stdout since Heroku uses these
console:
# If true, write log statements to stdout.
enabled: true
# Do not display log statements below this threshold to stdout.
threshold: ALL
# Settings for logging to a file.
file:
# If true, write log statements to a file.
enabled: false
# Do not write log statements below this threshold to the file.
threshold: ALL
# The file to which current statements will be logged.
currentLogFilename: ./log/store.log
# When the log file rotates, the archived log will be renamed to this and gzipped. The
# %d is replaced with the previous day (yyyy-MM-dd). Custom rolling windows can be created
# by passing a SimpleDateFormat-compatible format as an argument: "%d{yyyy-MM-dd-hh}".
archivedLogFilenamePattern: ./log/store-%d.log.gz
# The number of archived files to keep.
archivedFileCount: 5
# The timezone used to format dates. HINT: USE THE DEFAULT, UTC.
timeZone: UTC
# TODO Put only the database connectivity in here
# Load up all default values directly into the database
# TODO Support a configuration version field
#
# Define MongoDB connection string
mongoUri: