Skip to content

Commit

Permalink
updated the logging module method change (#721)
Browse files Browse the repository at this point in the history
  • Loading branch information
krmanupa committed Jul 22, 2020
1 parent 3f68a71 commit bf2df6d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ endif

nxOMSAutomationWorker:
rm -rf output/staging; \
VERSION="1.6.10.3"; \
VERSION="1.6.10.4"; \
PROVIDERS="nxOMSAutomationWorker"; \
STAGINGDIR="output/staging/$@/DSCResources"; \
cat Providers/Modules/$@.psd1 | sed "s@<MODULE_VERSION>@$${VERSION}@" > intermediate/Modules/$@.psd1; \
Expand Down
2 changes: 1 addition & 1 deletion Providers/Scripts/3.x/Scripts/nxOMSAutomationWorker.py
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,6 @@ def config_file_to_kv_pair(filename):

def log(level, message):
try:
LG().Log(logging._levelNames[level], message)
LG().Log(logging.getLevelName(level), message)
except:
pass
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
DEFAULT_VM_ID = DEFAULT_UNKNOWN
DEFAULT_WORKER_TYPE = DEFAULT_UNKNOWN
DEFAULT_COMPONENT = DEFAULT_UNKNOWN
DEFAULT_WORKER_VERSION = "1.6.10.3"
DEFAULT_WORKER_VERSION = "1.6.10.4"
DEFAULT_JRDS_POLLING_FREQUENCY = "15"

# state configuration keys
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
DEFAULT_VM_ID = DEFAULT_UNKNOWN
DEFAULT_WORKER_TYPE = DEFAULT_UNKNOWN
DEFAULT_COMPONENT = DEFAULT_UNKNOWN
DEFAULT_WORKER_VERSION = "1.6.10.3"
DEFAULT_WORKER_VERSION = "1.6.10.4"
DEFAULT_JRDS_POLLING_FREQUENCY = "15"

# state configuration keys
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
DEFAULT_VM_ID = DEFAULT_UNKNOWN
DEFAULT_WORKER_TYPE = DEFAULT_UNKNOWN
DEFAULT_COMPONENT = DEFAULT_UNKNOWN
DEFAULT_WORKER_VERSION = "1.6.10.3"
DEFAULT_WORKER_VERSION = "1.6.10.4"
DEFAULT_JRDS_POLLING_FREQUENCY = "15"

# state configuration keys
Expand Down

0 comments on commit bf2df6d

Please sign in to comment.