Skip to content

Commit

Permalink
Fix default value of loglevel.
Browse files Browse the repository at this point in the history
  • Loading branch information
yo8192 committed Mar 27, 2024
1 parent fac93fa commit e4a19b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/octo2influx.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def _config_only(val: str):
'from_max_days_ago': Parameter(int, int, 'Get Octopus data from the last retrieved timestamp, but no more than this many days ago.', default=600, validator=lambda x: x >= 0),
'from_days_ago': Parameter(int, int, 'Get Octopus data from that many days ago (0 means today). If set, this overrides from_max_days_ago.', validator=lambda x: x >= 0),
'to_days_ago': Parameter(int, int, 'Get Octopus data until that many days ago (0 means today).', default=0, validator=lambda x: x >= 0),
'loglevel': Parameter(str, confuse.Choice(['INFO', 'DEBUG', 'WARNING', 'ERROR']), 'Level of logs (INFO, DEBUG, WARNING, ERROR).', default='info'),
'loglevel': Parameter(str, confuse.Choice(['INFO', 'DEBUG', 'WARNING', 'ERROR']), 'Level of logs (INFO, DEBUG, WARNING, ERROR).', default='INFO'),

# Octopus settings:
'timezone': Parameter(str, str, 'Timezone of the Octopus account (e.g. where you live). Most likely always "Europe/London".', default="Europe/London"),
Expand Down

0 comments on commit e4a19b7

Please sign in to comment.