Complete logging and environment configuration