moving logging API to admin