Prevents token leaking

It should be noted that before this commit there wasn’t any token
leaking, but there was a possibility for token leaking if set up
incorrectly. It wasn’t set up in that way. But now, even if it is set
up that way, it still won’t leak.
Adds a file for sorting of logs by number