added the implementation of logging triggers based on user or host names