Added 'log_level' class variable to manipulate agent's log levels.