added LoggerException
implementing base, access logger
added exception handling for attach_stream