~hudson-openstack/burrow/cactus

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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[DEFAULT]

# Log level to use. All sections below prefixed with 'burrow' can define
# this to override this default.
log_level = DEBUG

# Default expiration time in seconds to set for messages.
default_ttl = 600

# Default hide time in seconds to set for messages.
default_hide = 0


[burrow.server]

# Backend to use for storing messages.
backend = burrow.backend.sqlite

# Comma separated list of frontends to run.
# frontends = burrow.frontend.wsgi,burrow.frontend.wsgi:ssl
frontends = burrow.frontend.wsgi

# Size of the thread pool to use for the server.
thread_pool_size = 1000


[burrow.backend.sqlite]

# Database file to use, passed to sqlite3.connect.
database = :memory:


[burrow.frontend.wsgi]

# Host to listen on.
host = 0.0.0.0

# Port to listen on.
port = 8080

# Size of backlog for listener socket.
backlog = 64

# Whether to enable SSL.
ssl = False

# If SSL is enabled, which certfile to use.
ssl_certfile = example.pem

# If SSL is enabled, which keyfile to use.
ssl_keyfile = example.key

# Size of thread pool for the WSGI server. If the size is 0, use the main
# burrow thread pool.
thread_pool_size = 0

# Default expiration time in seconds to set for messages. This overrides
# the value in the DEFAULT section.
# default_ttl = 600

# Default hide time in seconds to set for messages. This overrides the
# value in the DEFAULT section.
# default_hide = 0


[burrow.frontend.wsgi:ssl]

# Port to listen on.
port = 8443

# Whether to enable SSL.
ssl = True


# Logging configuration following the logging.config format.

[loggers]
keys=root

[logger_root]
qualname=root
level=WARNING
handlers=console

[handlers]
keys=console

[handler_console]
class=StreamHandler
level=DEBUG
formatter=simple
args=(sys.stdout,)

[formatters]
keys=simple

[formatter_simple]
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
datefmt=