log-token inspection function

This escript allows to fetch app ids (for now) based on a given log
token, assuming access to the local host.