Added independant logging feature