tinc icon indicating copy to clipboard operation
tinc copied to clipboard

Please add time when you output the log. There are too many retry link logs but do not know the time.

Open aogg opened this issue 2 years ago • 1 comments

Please add time when you output the log. There are too many retry link logs but do not know the time.

aogg avatar Aug 16 '23 02:08 aogg

For my scripts I pipe the debug output ot tincd through mtee (on windows) to add a timestamp. I think similar things could be achieved by the tee command in unix environments.

tincd -c "%~dp0..\coronavpn" -o "Name=%1" -o "Ed25519PrivateKeyFile=keys\%1.key" -o "BindToAddress=* %2" -D 2>&1 | mtee /T /+ ..\tinc.log

unverbuggt avatar Feb 04 '24 08:02 unverbuggt