I have a script that monitors all log files in a directory, basically tailing, an infinite loop does it. Currently I have one class obj to which i pass the directory and it continuously monitors it. I need to modify the code so that it can monitor multiple directories.
confused between multiprocessing and multithreding in python, each process/thread monitors its own directory. Is passing different class objects to the process/thread a good option.