Skip to content

Commit

Permalink
Adding extra debug info to show api creds
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmarsh committed Feb 1, 2024
1 parent a87ecbb commit b399f27
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions _jnja/elm.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# ---------------------------------------
#
# elm - A cli interface for extracting LogicMonitor data via the api
# Copyright (C) 2021--2023 David Marsh [email protected]
# Copyright (C) 2021--2024 David Marsh [email protected]
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand All @@ -23,10 +23,10 @@
__project__ = 'elm'
__appname__ = 'elm'
__appdesc__ = 'A cli interface for extracting LogicMonitor data via the api'
__version__ = '1.0.4'
__version__ = '1.0.5'
__author__ = 'David Marsh'
__license__ = 'GPLv3'
__copyright__ = 'Copyright 2021--2023 David Marsh'
__copyright__ = 'Copyright 2021--2024 David Marsh'
__url__ = 'https://github.com/rdmarsh/elm'

import os
Expand Down Expand Up @@ -128,7 +128,17 @@ def cli(ctx, access_id, access_key, account_name, proxy, format, noheaders, inde
logging.info('proxy: %s:%s', proxy[0], proxy[1])

logging.info('config_file: %s', config_file)
logging.info('account_name: %s', account_name)
logging.debug('')
logging.debug('*********************************************************')
logging.debug('***')
logging.debug('*** WARNING WARNING SENSITIVE INFORMATION WARNING WARNING')
logging.debug('***')
logging.debug('*** access_id: %s', access_id)
logging.debug('*** access_key: %s', access_key)
logging.debug('*** account_name: %s', account_name)
logging.debug('***')
logging.debug('*********************************************************')
logging.debug('')
logging.info('format: %s', format)
logging.info('noheaders: %s', noheaders)
logging.info('index: %s', index)
Expand Down

0 comments on commit b399f27

Please sign in to comment.