-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding extra debug info to show api creds
- Loading branch information
Showing
1 changed file
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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) | ||
|