Hello everyone, i've recently started experimenting with Axis2 with great
joy, however, i seem to be unable to configure it in a manner which
everything that goes wrong with a service invocation gets logged (The
axis2.log never gets modified)

This is the code of my service class:

public class LoginService {

    private static Log logger = LogFactory.getLog(LoginService.class);

    public Usuario login(String user, String pass){
        List<Usuario> usuarios = null;

        try{
            usuarios =
Locator.getInstance().seguridadDAOFactory().getUsuarioDAO().findByLogin(user);
        }
        catch(Exception e){
            logger.error(e.getLocalizedMessage());
        }

        return usuarios!=null?usuarios.get(0):null;
    }
}

any exceptions should be logged in axis2.log right?

i did not touch the axis2 logging configuration so it should be the default
one

thanks in advance!

Rafael

Reply via email to