Process Mapping Logo

Process Mapping - Forums

Sharing 19 years of knowledge and experience

 
Metastorm BPM forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
tspafford

Senior Member
Registered:
Posts: 64
Reply with quote  #1 
Is there a setting anywhere to have eLog only log errors, ie: estatuscode > 0?

MBPM 9.2

Thanks
0
BMellert

Guru
Registered:
Posts: 677
Reply with quote  #2 
Valid status codes from my experience are either NULL, 0 (info), 1 (warning) or 2 (error).

NULL records are controlled strictly by MBPM for internal processing (authentication, deployment of a solution most commonly, though I also see when a condition action doesn't run due to being a lower priority condition executes instead).  They cannot be blocked in any supported fashion.

Development usually write the 0 or 1 records via the WriteToLog() method, so they are somewhat in your control.  However, there is no supported way to not allow those to be inserted except to remove them from the code.

2 records are generated by internal errors, setting user error, or setting an error severity on WriteToLog().

If desired, you could create a clean-up process/procedure to purge the kinds of records you don't want on a perodic basis -- with applicable caution to not remove undesired items.
0
tspafford

Senior Member
Registered:
Posts: 64
Reply with quote  #3 
Thank you. *sigh*. No Global Loglevel setting. Oh well
0
Techno

New Member
Registered:
Posts: 4
Reply with quote  #4 
You could create a view, with a subset of the data in eLog. Then you can filter on eStatusCode.
0
thomas

Senior Member
Registered:
Posts: 79
Reply with quote  #5 
@tspafford 
You could write a helper class to handle the logging, then call that method to write to log. The method could then read a global param (from database table) to determine which Severity to write to eLog. At least you could then somehow disable all those 'debugging' logging from dev when moving to prod ;)
Downside is you'll have to go replace all your current WriteToLog with the custom one.
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:


Create your own forum with Website Toolbox!