Implementing log controller