File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,13 @@ def _create_destination_args(args):
7272 destination_args .destination = args .destination
7373 destination_args .destination_port = args .destination_port
7474 destination_args .destination_protocol = args .destination_protocol
75+
76+ if destination_args .destination_port is None :
77+ destination_args .destination_port = 514
78+
79+ if destination_args .destination_protocol is None :
80+ destination_args .destination_protocol = "TCP"
81+
7582 return destination_args
7683
7784
Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ def get_error_logger(service_name):
6868class DestinationArgs (object ):
6969 destination_type = None
7070 destination = None
71- destination_port = 514
72- destination_protocol = "TCP"
71+ destination_port = None
72+ destination_protocol = None
7373
7474
7575def get_logger (formatter , service_name , destination_args ):
You can’t perform that action at this time.
0 commit comments