forked from dell/PyU4V
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPyU4V.conf.example
More file actions
45 lines (37 loc) · 792 Bytes
/
PyU4V.conf.example
File metadata and controls
45 lines (37 loc) · 792 Bytes
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
[setup]
; enter the below details - mandatory
;(can be passed as parameters on initialisation also)
username=smc
password=smc
server_ip=10.0.0.75
port=8443
array=00012345678
; verify=True
verify=/path-to-file/server_hostname.pem
; log configuration
[loggers]
keys=root,PyU4V
[handlers]
keys=consoleHandler
[formatters]
keys=simpleFormatter
[logger_root]
level=INFO
handlers=consoleHandler, fileHandler
[logger_PyU4V]
level=INFO
handlers=consoleHandler, fileHandler
qualname=PyU4V
propagate=0
[handler_consoleHandler]
class=StreamHandler
level=INFO
formatter=simpleFormatter
args=(sys.stdout,)
[handler_fileHandler]
class=FileHandler
level=INFO
formatter=simpleFormatter
args=(~/.PyU4V/PyU4V.log)
[formatter_simpleFormatter]
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s