Files
cyphernode/api_auth_docker/trace.sh
2019-05-08 14:22:23 -04:00

9 lines
135 B
Bash
Executable File

#!/bin/sh
trace()
{
if [ -n "${TRACING}" ]; then
echo "[$(date +%Y-%m-%dT%H:%M:%S%z)] $$ $*" 2>>/var/log/gatekeeper.log 1>&2
fi
}