Added missing resource loggin