Fixed quite logger when used in maven projects.

Added a serializable logger object that can be transferred to the
slave in order to instantiate the logger instance.