added logplex api functions