viewing log files from remote
Answered
I have a remote project (I have set up remote interpreter, deployment, and configuration).
In my configuration, my python script "main.py" creates a new file called "logs.log" and writes log to the file. the log file is placed within the remote in path: "/home/user/project/results/debug/logs.log"
However, when set it up as below (portions of the path to the logging file has been deleted for privacy reasons):
I don't see any logging information in the "Run" or "Debug" tool window when I run the script.
Please sign in to leave a comment.
Hi,
PyCharm doesn't support such a case. It can read it from the local file, but not remote.
Feel free to submit a feature request to https://youtrack.jetbrains.com/issues/IDEA