1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Record host specific messages to log files (#28661)

Fixes #28660

Change-Id: I0028f16320fd63c6ee0fa3be942fc88c555e4dcb
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
This commit is contained in:
Sorin Sbarnea 2018-12-07 16:11:17 +00:00 committed by Brian Coca
parent 7aa11c441d
commit cba3290621

View file

@ -205,7 +205,7 @@ class Display(with_metaclass(Singleton, object)):
if host is None: if host is None:
self.display(msg, color=C.COLOR_VERBOSE) self.display(msg, color=C.COLOR_VERBOSE)
else: else:
self.display("<%s> %s" % (host, msg), color=C.COLOR_VERBOSE, screen_only=True) self.display("<%s> %s" % (host, msg), color=C.COLOR_VERBOSE)
def deprecated(self, msg, version=None, removed=False): def deprecated(self, msg, version=None, removed=False):
''' used to print out a deprecation message.''' ''' used to print out a deprecation message.'''