Improved logging for Application and Infrastructure layers.