Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get IP and server name #36

Open
Moibe opened this issue Dec 14, 2021 · 1 comment
Open

Get IP and server name #36

Moibe opened this issue Dec 14, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@Moibe
Copy link

Moibe commented Dec 14, 2021

Probably it is an obvious question, but probably it is a feature you still hasn't added and would be great to have.

Once connected to one of the servers listed in settings, how can I get that information on which server and which IP I got connected to, this would be great for logs and other functionalities when using the switcher.

Thanks in advance.

@kboghe
Copy link
Owner

kboghe commented Dec 14, 2021

Thanks for your suggestion and I'll try to incorporate this in the next version. In the meantime, you could simply adjust the code just slightly by writing all existing print statements to a log file using the logging module. After all, the server information and new IP address are already saved in a variable in the script, so it's all there, really. :)

Thanks again and have a great day.
Kristof

@kboghe kboghe added the enhancement New feature or request label Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants