Order and Service Management (Communications Industry) (MOSC)

MOSC Banner

How to control logging level for custom automation plugin

Hi
Assume I have the following java class running in OSM 7.0.1 as an automated task :

package no.acme;

import com.mslv.oms.automation.AutomationContext;
import com.mslv.oms.automation.AutomationException;
import com.mslv.oms.automation.TaskContext;
import com.mslv.oms.automation.plugin.AbstractAutomator;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class AlfTestRemoteJbossCall extends AbstractAutomator {
    private static final long serialVersionUID = 3364396013799171186L;

    private static final Log log = LogFactory.getLog(AlfTestRemoteJbossCall.class);
   
    @Override
    public void run(String inputXml, AutomationContext context)
            throws AutomationException {
        log.info("inputXml " + inputXml);
        log.debug/("context " + context);
    }
}


How and where do I control that the DEBUG level logging is outputted to the log ?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center