'Pycharm "Save console output to file" not working
I see that no file is saved even though I specify a file pathname log.log in the logs tab (Run/Debug configurations of Pycharm)
Solution 1:[1]
Turns out that the following two boxes should not be checked for this to work:
- Emulate terminal in output console
- Run with Python Console
Uncheck the above two boxes and the logging should work fine. Also remember to specify the log filename instead of directory such as your_log_directory/log.log
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | omsrisagar |
