mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-27 14:01:13 +00:00
Update logging info messages
This commit is contained in:
parent
cb0fc55c8b
commit
1e81e16788
45
twoot.py
45
twoot.py
|
@ -893,28 +893,29 @@ def main(argv):
|
||||||
logger.setLevel(log_level)
|
logger.setLevel(log_level)
|
||||||
|
|
||||||
logging.info('Running with the following configuration:')
|
logging.info('Running with the following configuration:')
|
||||||
logging.info(' Config File : ' + str(args['f']))
|
logging.info(' Config File : ' + str(args['f']))
|
||||||
logging.info(' twitter_account : ' + TOML['config']['twitter_account'])
|
logging.info(' twitter_account : ' + TOML['config']['twitter_account'])
|
||||||
logging.info(' mastodon_instance : ' + TOML['config']['mastodon_instance'])
|
logging.info(' mastodon_instance : ' + TOML['config']['mastodon_instance'])
|
||||||
logging.info(' mastodon_user : ' + TOML['config']['mastodon_user'])
|
logging.info(' mastodon_user : ' + TOML['config']['mastodon_user'])
|
||||||
logging.info(' upload_videos : ' + str(TOML['options']['upload_videos']))
|
logging.info(' upload_videos : ' + str(TOML['options']['upload_videos']))
|
||||||
logging.info(' post_reply_to : ' + str(TOML['options']['post_reply_to']))
|
logging.info(' post_reply_to : ' + str(TOML['options']['post_reply_to']))
|
||||||
logging.info(' skip_retweets : ' + str(TOML['options']['skip_retweets']))
|
logging.info(' skip_retweets : ' + str(TOML['options']['skip_retweets']))
|
||||||
logging.info(' remove_link_redirections : ' + str(TOML['options']['remove_link_redirections']))
|
logging.info(' remove_link_redirections : ' + str(TOML['options']['remove_link_redirections']))
|
||||||
logging.info(' remove_trackers_from_urls: ' + str(TOML['options']['remove_trackers_from_urls']))
|
logging.info(' remove_trackers_from_urls : ' + str(TOML['options']['remove_trackers_from_urls']))
|
||||||
logging.info(' footer : ' + TOML['options']['footer'])
|
logging.info(' footer : ' + TOML['options']['footer'])
|
||||||
logging.info(' tweet_time_format : ' + TOML['options']['tweet_time_format'])
|
logging.info(' tweet_time_format : ' + TOML['options']['tweet_time_format'])
|
||||||
logging.info(' tweet_timezone : ' + TOML['options']['tweet_timezone'])
|
logging.info(' tweet_timezone : ' + TOML['options']['tweet_timezone'])
|
||||||
logging.info(' remove_original_tweet_ref: ' + str(TOML['options']['remove_original_tweet_ref']))
|
logging.info(' remove_original_tweet_ref : ' + str(TOML['options']['remove_original_tweet_ref']))
|
||||||
logging.info(' update_profile : ' + str(TOML['options']['update_profile']))
|
logging.info(' update_profile : ' + str(TOML['options']['update_profile']))
|
||||||
logging.info(' tweet_max_age : ' + str(TOML['options']['tweet_max_age']))
|
logging.info(' tweet_max_age : ' + str(TOML['options']['tweet_max_age']))
|
||||||
logging.info(' tweet_delay : ' + str(TOML['options']['tweet_delay']))
|
logging.info(' tweet_delay : ' + str(TOML['options']['tweet_delay']))
|
||||||
logging.info(' toot_cap : ' + str(TOML['options']['toot_cap']))
|
logging.info(' upload_pause : ' + str(TOML['options']['upload_pause']))
|
||||||
logging.info(' subst_twitter : ' + str(TOML['options']['subst_twitter']))
|
logging.info(' toot_cap : ' + str(TOML['options']['toot_cap']))
|
||||||
logging.info(' subst_youtube : ' + str(TOML['options']['subst_youtube']))
|
logging.info(' subst_twitter : ' + str(TOML['options']['subst_twitter']))
|
||||||
logging.info(' subst_reddit : ' + str(TOML['options']['subst_reddit']))
|
logging.info(' subst_youtube : ' + str(TOML['options']['subst_youtube']))
|
||||||
logging.info(' log_level : ' + TOML['options']['log_level'])
|
logging.info(' subst_reddit : ' + str(TOML['options']['subst_reddit']))
|
||||||
logging.info(' log_days : ' + str(TOML['options']['log_days']))
|
logging.info(' log_level : ' + TOML['options']['log_level'])
|
||||||
|
logging.info(' log_days : ' + str(TOML['options']['log_days']))
|
||||||
|
|
||||||
# Try to open database. If it does not exist, create it
|
# Try to open database. If it does not exist, create it
|
||||||
sql = sqlite3.connect('twoot.db')
|
sql = sqlite3.connect('twoot.db')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user