Fixed admin log action error

Failing due to logation not being available