cimatosa / jobmanager

easy distributed computing based on the python class SyncManager for remote communication and python module multiprocessing for local parallelism
MIT License
6 stars 3 forks source link

Verbosity levels #23

Open paulmueller opened 9 years ago

paulmueller commented 9 years ago

I propose these verbosity levels, because I only want the server to display a progress bar in some cases:

0 : print nothing 1 : server only print progress bar / client only print current stats 2 : server print summary / client print summary 3 : everything else

@cimatosa

cimatosa commented 9 years ago

when about error messages, and status messages?

so far I tried to stick to the rules 0: quiet 1: errors and main status info only 2: all sorts of log messages 3: debug and development information

so there is no overall behavior for the progress assigned to the verbosity levels (except that 0 suppresses also the progress bar). I think we should rather treat the behavior of showing or not showing the progress bar explicitly in the constructor of the jobmanager Server/Client.

paulmueller commented 9 years ago

ok, I agree.