implement predefined tokens for logging handler