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

One more addition as I needed to be able to modify the log_level value of the agent.