Added environment tagging based on logsource