-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig_sample.yml
53 lines (50 loc) · 1.29 KB
/
config_sample.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
# use the long name version of the options with dashes converted to underscores
use_dbs: [pdbtest_db1, pdbtest_db2]
ignore_dbs: [pdbtest_db1]
exclude_columns:
pdbtest_db2.tb1: [id]
pdbtest_db2.tb2: [tinyintcol, smallintcol]
warning: 99
critical: 99
threads: 10
row_count_max_ratio: 50
display_row_count_max_ratio_columns: True
hostname: localhost
user: sandbox
password: sandbox
results_host: localhost
results_database: int_overflow_check
results_user: sandbox
results_password: sandbox
results_port: 3306
secondary_keys: False
scan_all_columns: False
# logging
# =======
# logging configuration
logging:
version: 1
disable_existing_loggers: False
formatters:
simple:
format: '[%(asctime)s] {%(pathname)s:%(lineno)d} %(levelname)s - %(message)s'
console:
format: '[%(asctime)s] %(message)s'
handlers:
console:
level: 'INFO'
formatter: console
class: logging.StreamHandler
new_file:
formatter: simple
level: DEBUG
class: logging.FileHandler
filename: debug.log
mode: w
encoding: utf_8
delay: True
loggers:
__main__:
handlers: [new_file]
pdb_check_maxvalue:
handlers: [new_file]