Clear log status

Use this component to reset any logging indication, in other words if you are using Check log status to see if any ERROR logging has been made but at some point you want to "start from scratch" you use this component.

Usage

Below is an example of how this component works:

BCCLog.getLogger().error("An error has occured", null);
boolean sts1 = BCCLog.isLogged("ERROR"); // sts1 is true
BCCLog.resetLogg();
boolean sts2 = BCCLog.isLogged("ERROR"); // sts2 is false

For this thread

To reset the indication for this job's thread, use this:

BCCLog.resetLogg();

Reseting for all jobs

If you need to reset the indication for all jobs, not just this one:

BCCLog.resetLoggGlobal();