mirror of
https://github.com/aclist/dztui.git
synced 2024-12-27 21:02:36 +01:00
feat: redact usernames
This commit is contained in:
parent
99d964bf44
commit
4a95316412
1 changed files with 1 additions and 0 deletions
|
@ -739,6 +739,7 @@ logger(){
|
|||
local self="${BASH_SOURCE[0]}"
|
||||
local caller="${FUNCNAME[1]}"
|
||||
local line="${BASH_LINENO[0]}"
|
||||
self="$(<<< "$self" sed 's@\(/[^/]*/\)\([^/]*\)\(.*\)@\1REDACTED\3@g')"
|
||||
printf "%s␞%s␞%s::%s()::%s␞%s\n" "$date" "$tag" "$self" "$caller" "$line" "$string" >> "$debug_log"
|
||||
}
|
||||
test_ping(){
|
||||
|
|
Loading…
Reference in a new issue