Topic Options
#55626 - 01/19/18 09:58 AM Set level of logging on each process
Uomo Del Ghiaccio Offline
OL Expert

Registered: 02/21/01
Posts: 668
It would be nice to have the option to set the level of logging on each process. Many times there are processes that are rock solid and need limited logging, but other processes may need additional logging. I envision this applying to the ppw log only, where the setting in the configuration options sets the default setting, when can be overrided by a new setting in the process options.
Uomo Del Ghiaccio

#55631 - 01/19/18 02:03 PM Re: Set level of logging on each process [Re: Uomo Del Ghiaccio]
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
Hi Uomo,

Assuming it's realistically feasible to implement, I really can't think of that many cases where I would be confident enough that one process can't be responsible for another process's failure, unless they are two completely unrelated sets of process, for two completely unrelated solutions on a same machine. I'm not sure just how helpful this feature would be, for the time it might take to implement it.

To be honest, based on your other threads, I think you are facing a rather specific scenario where the logging is inadequate to properly debug your project, but that would be a specific case that might not need to modify the software. Instead, I would go for a "custom logging" approach, using scripts and "Watch.Log" commands, and perhaps some additional error handling as well. This way, you could create custom logging in a way that is suitable for your project.

I suggest that you give Support a call, and see if they can give you ideas on how to improve logging for your project.

Raphaël Lalonde-Lefebvre