forked from opensourcehacker/sevabot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.py.example
38 lines (26 loc) · 987 Bytes
/
settings.py.example
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
#: Known shared secret key in order to send messages over HTTP interface
SHARED_SECRET = "koskela"
#: List of Skype usernames who can administrate the bot
ADMINS = ["oulu"]
#: List of paths where we scan command-line modules
#: Can be absolute path or relative to the current working directory
MODULE_PATHS = ["modules"]
#: How fast module script must finish
TIMEOUT = 30
#: Where we run our HTTP interface
HTTP_HOST = "localhost"
#: Which port we run our HTTP interface
HTTP_PORT = 5000
#: Set logging level (INFO or DEBUG)
#: This setting overrides --verbose option
#: LOG_LEVEL = "INFO"
#: Setup Python logging for Sevabot
#: Absolute path or relative to the settings file location
LOG_FILE = "logs/sevabot.log"
# http://docs.python.org/library/logging.html
LOG_FORMAT = "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
#: Log rotation options
LOG_ROTATE_COUNT = 10
LOG_ROTATE_MAX_SIZE = 1024 * 1024
#: Log all HTTP requests for debugging purposes
DEBUG_HTTP = False