Skip to content
Snippets Groups Projects
Commit 8dc0670b authored by Raphael GIRARDOT's avatar Raphael GIRARDOT
Browse files

PROBLEM-310: read device properties before logging configuration

parent d653a940
No related branches found
No related tags found
No related merge requests found
......@@ -575,6 +575,9 @@ public class HdbArchiver extends DeviceImpl implements TangoConst {
// =========================================================
@Override
public void init_device() throws DevFailed {
// PROBLEM-310: read device properties before logging configuration
get_device_property();
try {
logger = LoggingUtils.configureLogging(device_name, hasDiary, diaryPath, diaryLogLevel);
} catch (final IOException e) {
......@@ -585,7 +588,6 @@ public class HdbArchiver extends DeviceImpl implements TangoConst {
logger.info("HdbArchiver() create " + device_name);
// Initialise variables to default values
// -------------------------------------------
get_device_property();
// stop archiving before doing anything else
if (collectorFactory != null) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment