-
Notifications
You must be signed in to change notification settings - Fork 70
/
Copy pathconfig_template.yaml
64 lines (59 loc) · 1.4 KB
/
config_template.yaml
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
provider_uri: <QLIB_DATA>
flask_server: <FLASK_SERVER_HOST>
flask_port: 9710
queue_host: <QUEUE_HOST>
queue_user: <QUEUE_USER>
queue_pwd: <QUEUE_PASS>
task_queue: <TASK_QUEUE>
message_queue: <MESSAGE_QUEUE>
max_concurrency: 10
max_process: 10
redis_host: <REDIS_HOST>
redis_port: <REDIS_PORT>
redis_task_db: <REDIS_DB>
auto_update: 0
update_time: '23:45'
client_version: '>=0.4.0'
server_version: '>=0.4.0'
dataset_cache_dir_name: dataset_cache
features_cache_dir_name: features_cache
logging_level: INFO
logging_config:
version: 1
formatters:
logger_format:
format: '[%(process)s:%(threadName)s](%(asctime)s) %(levelname)s - %(name)s - [%(filename)s:%(lineno)d] - %(message)s'
filters:
mail_filter:
(): qlib_server.log.LogFilter
param:
- '.*?WARN: data not found for.*?'
handlers:
console:
class: logging.StreamHandler
level: DEBUG
formatter: logger_format
file:
class: logging.FileHandler
mode: w
filename: qlib_server.log
level: INFO
formatter: logger_format
others:
class: logging.StreamHandler
level: WARNING
formatter: logger_format
other_file:
class: logging.FileHandler
mode: w
filename: qlib_server_other_module.log
level: WARNING
formatter: logger_format
loggers:
qlib:
level: DEBUG
handlers:
- console
root:
handlers:
- others