Question

Is it possible to read the logs of the object processes ?

Hi community,

 

Is it possible to read the logs of the processes in the back-end base objects ?

In the "process logs" section we can find all the logs regarding the processes of the "process library" section.

 

However, these are not the only processes existing in the system.

 

There are those processes that can be directly accessed from the base object :

 

 

How can we find the logs of these business processes ?

 

Many thanks,

Jonathan

Like 0

Like

1 comments
Best reply

 Hi Jonathan, 



Such processes are not logged by default, however you can add the logging if you edit the process in the replacing object. 

You can add the logger using, for example, such code : 

 

namespace Terrasoft.Configuration {
	using global::Common.Logging;
 
	public class LogTest {
 
		private ILog log;
 
		public LogTest() {
			log = LogManager.GetLogger("LoggerName");
		}
 
		public void WriteError() {
			log.Error("ErrorMessage");
		}
 
	}
}

 

Best regards,

Yurii.

 Hi Jonathan, 



Such processes are not logged by default, however you can add the logging if you edit the process in the replacing object. 

You can add the logger using, for example, such code : 

 

namespace Terrasoft.Configuration {
	using global::Common.Logging;
 
	public class LogTest {
 
		private ILog log;
 
		public LogTest() {
			log = LogManager.GetLogger("LoggerName");
		}
 
		public void WriteError() {
			log.Error("ErrorMessage");
		}
 
	}
}

 

Best regards,

Yurii.

Show all comments