logging in main folder