support for logging; collecting more environment