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

'Name' replaced by 'Db Name' in TTS connexion logs (TANGOARCH-888)

parent 811029ad
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ public interface ApiConstants { ...@@ -8,6 +8,7 @@ public interface ApiConstants {
public static final String TTS = "TTS"; public static final String TTS = "TTS";
public static final String TTS_DEVICE_CLASS = "TimeseriesArchiver"; public static final String TTS_DEVICE_CLASS = "TimeseriesArchiver";
public static final String PORT = "Port"; public static final String PORT = "Port";
public static final String DB_NAME = "Db Name";
public static final String DEFAULT = "default one"; public static final String DEFAULT = "default one";
// ///////////////////////////////////////// // // ///////////////////////////////////////// //
......
...@@ -68,8 +68,7 @@ public class DbConnectionManager implements ApiConstants { ...@@ -68,8 +68,7 @@ public class DbConnectionManager implements ApiConstants {
.append(params.getHost()); .append(params.getHost());
builder.append('\n').append(PORT).append(IConfiguration.DISPAY_SEPARATOR) builder.append('\n').append(PORT).append(IConfiguration.DISPAY_SEPARATOR)
.append(ApiUtils.getProperty(TTS_PORT_PROPERTY, TTS_PORT_ENV, DEFAULT)); .append(ApiUtils.getProperty(TTS_PORT_PROPERTY, TTS_PORT_ENV, DEFAULT));
builder.append('\n').append(DbConnectionInfo.DB_NAME).append(IConfiguration.DISPAY_SEPARATOR) builder.append('\n').append(DB_NAME).append(IConfiguration.DISPAY_SEPARATOR).append(params.getName());
.append(params.getName());
builder.append('\n').append(DbConnectionInfo.DB_USER).append(IConfiguration.DISPAY_SEPARATOR) builder.append('\n').append(DbConnectionInfo.DB_USER).append(IConfiguration.DISPAY_SEPARATOR)
.append(params.getUser()); .append(params.getUser());
Logger tmp = LoggerFactory.getLogger(HdbTdbConnectionParameters.class); Logger tmp = LoggerFactory.getLogger(HdbTdbConnectionParameters.class);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment