added a basic logging and attack logging method