Logging, envvars and launch profile
This commit is contained in:
25
.vscode/launch.json
vendored
Normal file
25
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Python Debugger: Tikmon",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"program": "${file}",
|
||||
"console": "integratedTerminal",
|
||||
"env": {
|
||||
"INTERVAL" : "5",
|
||||
"INFLUXDB_TOKEN":"rg5dZrBHQxJTH4Etq2jmDduggCC28QaWcua0VVvW4hjsEVhy_JUpVhcyg-aLAbM-TXv92pTB7IGJlyAPvi7Kvw==",
|
||||
"INFLUXDB_URL" : "http://10.0.2.249:4567",
|
||||
"INFLUXDB_ORG" : "edelweiss",
|
||||
"INFLUXDB_BUCKET" : "router",
|
||||
"MIKROTIK_IP": "10.128.0.1",
|
||||
"MIKROTIK_USER": "service",
|
||||
"MIKROTIK_PASSWORD": "edxservice",
|
||||
"LOG_FILE": "D:\\Test\\routermon.log",
|
||||
"LOG_FILE_LVL": "WARNING",
|
||||
"LOG_CLI_LVL": "DEBUG"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user