Skip to content
Snippets Groups Projects
Commit d9f17221 authored by Arnaud Jelmoni's avatar Arnaud Jelmoni
Browse files
Rajouter une propriété dans TdbArchiver pour forcer l'export au redémarrage
parent a0a12e10
Branches
Tags
No related merge requests found
......@@ -62,6 +62,9 @@ import java.util.MissingResourceException;
import java.util.ResourceBundle;
import java.util.Vector;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import fr.esrf.Tango.AttrWriteType;
import fr.esrf.Tango.DevFailed;
import fr.esrf.Tango.DispLevel;
......@@ -74,6 +77,8 @@ import fr.esrf.TangoDs.TemplCommandInOut;
import fr.esrf.TangoDs.Util;
public class SnapArchiverClass extends DeviceClass implements TangoConst {
final static Logger logger = LoggerFactory.getLogger(SnapArchiverClass.class);
/**
* SnapArchiverClass class instance (it is a singleton).
*/
......@@ -114,8 +119,8 @@ public class SnapArchiverClass extends DeviceClass implements TangoConst {
// ===================================================================
public static SnapArchiverClass instance() {
if (_instance == null) {
System.err.println("SnapArchiverClass is not initialised !!!");
System.err.println("Exiting");
logger.error("SnapArchiverClass is not initialised !!!");
logger.error("Exiting");
System.exit(-1);
}
return _instance;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment