config and logger