Implemented namespace Mechanism

Changed intersection with main logging mechanism
if there are errors in open log file the program fails with code 8