Skip to content

Commit

Permalink
added graylog input arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrosx committed Jun 3, 2024
1 parent 3cc7c86 commit 56b9522
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/scicat_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,31 @@ def build_main_arg_parser() -> argparse.ArgumentParser:
default=None,
type=str,
)
group.add_argument(
'--graylog-log',
dest='graylog_log',
help='Provide logging on a graylog system',
action='store_true',
default=False,
)
group.add_argument(
'--graylog-host',
dest='graylog_host',
help='Hostname or ip address of the graylog server',
default='',
)
group.add_argument(
'--graylog-port',
dest='graylog_port',
help='POrt number used to communicate with the graylog server',
default='',
)
group.add_argument(
'--graylog-facility',
dest='graylog_facility',
help='Facility for graylog logs',
default='scicat.ingestor',
)
return parser


Expand Down

0 comments on commit 56b9522

Please sign in to comment.