Is there a way, without using an external module, to set the logging level for terminal output to info, and the logging level for writing a *.log to warning?
Why do I ask? I have a script that will run over a long period of time. Therefore I want to see in the terminal that my code is still running, but don't want to get all the info stuff inside the *.log file. Only if the logging level is 30 or higher it should print to my logging file.