Revert "fix(threadpool): stop logging task args because they may contain pwd"
This reverts commit b38faeae64
.
This commit is contained in:
parent
c6449f67c6
commit
d51b78468d
|
@ -51,8 +51,8 @@ proc runTask(safeTaskArg: ThreadSafeTaskArg) {.gcsafe, nimcall.} =
|
|||
|
||||
let messageType = parsed{"$type"}.getStr
|
||||
|
||||
# TODO re-add the taskArg to the log once all the passwords in the app are hashed before being sent to another thread
|
||||
debug "[threadpool task thread] initiating task", messageType=messageType, threadid=getThreadId()
|
||||
debug "[threadpool task thread] initiating task", messageType=messageType,
|
||||
threadid=getThreadId(), task=taskArg
|
||||
|
||||
try:
|
||||
let task = cast[Task](parsed{"tptr"}.getInt)
|
||||
|
|
Loading…
Reference in New Issue