Add improved logging and notifications with environment awareness and timestamps