1. We were now importing from config before the console redirect code runs. 2. That means that config.py's `logger = logging.getLogger(appname)` caused the logger to be set up whilst stdout/err were still pointing at the console. 3. So the redirect then had no effect on logging output. This commit moves the import from config (and also killswitch, because it also imports logging) to after the *moved* console redirect code. NB: This needs the "detected a process already running" instance checking. NB: There's still a `True or ` for testing purposes EDMarketConnector.py:25 # Conflicts: # EDMarketConnector.py
Any questions or offers of help can be directed to the EDCD Discord #edmc channel:
Elite: Dangerous Market Connector (EDMC)
This application is only of use to PC players of the game Elite Dangerous (and its expansions). It won't work with PS4 or Xbox accounts.
It utilises the Journal files written by the game on the user's computer, together with data from the API Frontier Developments supplies in order to feed this data to various third party sites that the user may find useful.
See the Wiki documentation for more details.
Installation & Uninstall
Please see the Installation & Setup wiki page.
Running from source
Please see the Running from source wiki page.
Plugins
Plugins extend the behaviour of this app. See the Plugins wiki page for more information.
If you would like to write a plugin please see PLUGINS.md.
Troubleshooting
Please see the Troubleshooting wiki page.
Reporting a problem
Please report a problem as a new GitHub issue. Please wait for the error to occur and zip up and attach this app's log file to the new issue:
Mac:
$TMPDIR/EDMarketConnector.log
Windows:
%TMP%\EDMarketConnector.log
Packaging for distribution
Please see docs/Releasing.md.
Disclaimer
This app uses the “Companion” web API that Frontier originally supplied for their Elite Dangerous iOS app and now support for third-party apps. If that API ceases to function in the future then much of this application's functionality will be curtailed (although it could still utilise Journal files).
Acknowledgements
Please see the Acknowledgements wiki page.
License
Copyright © 2015-2019 Jonathan Harris, 2020 EDCD
Licensed under the GNU Public License (GPL) version 2 or later.