From e870680b5f81d5bd2c2c1de894e87e4f8ec0de37 Mon Sep 17 00:00:00 2001 From: gmantele <gmantele@ari.uni-heidelberg.de> Date: Fri, 27 Feb 2015 17:49:05 +0100 Subject: [PATCH] [UWS,TAP] Change the default log and backup files name. Before it was 'uws.*', but since the same FileManager is used for both services, this default name has been replaced by 'service.*'. --- src/uws/service/file/LocalUWSFileManager.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/uws/service/file/LocalUWSFileManager.java b/src/uws/service/file/LocalUWSFileManager.java index 3ac55bd..c3f25fa 100644 --- a/src/uws/service/file/LocalUWSFileManager.java +++ b/src/uws/service/file/LocalUWSFileManager.java @@ -16,7 +16,7 @@ package uws.service.file; * You should have received a copy of the GNU Lesser General Public License * along with UWSLibrary. If not, see <http://www.gnu.org/licenses/>. * - * Copyright 2012,2014 - UDS/Centre de DonnĂ©es astronomiques de Strasbourg (CDS), + * Copyright 2012-2015 - UDS/Centre de DonnĂ©es astronomiques de Strasbourg (CDS), * Astronomisches Rechen Institut (ARI) */ @@ -69,7 +69,7 @@ import uws.service.request.UploadFile; * </p> * * @author Grégory Mantelet (CDS;ARI) - * @version 4.1 (12/2014) + * @version 4.1 (02/2015) */ public class LocalUWSFileManager implements UWSFileManager { @@ -77,9 +77,9 @@ public class LocalUWSFileManager implements UWSFileManager { private DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); /** Default name of the log file. */ - protected static final String DEFAULT_LOG_FILE_NAME = "uws.log"; + protected static final String DEFAULT_LOG_FILE_NAME = "service.log"; /** Default name of the general UWS backup file. */ - protected static final String DEFAULT_BACKUP_FILE_NAME = "uws.backup"; + protected static final String DEFAULT_BACKUP_FILE_NAME = "service.backup"; /** Directory in which all files managed by this class will be written and read. */ protected final File rootDirectory; -- GitLab