• Font Size
  • S
  • M
  • L

Search via FAQ No.


  • No : 30509
  • Open Date : 2019/09/04 10:54
  • Print
NEW

[DataSpider Servista] Is it possible to change the output destination of Client CLI Console log and Server CLI Console log?

We would like to set the log destination to a directory other than the installation directory for a log monitoring purpose. Is it possible to change the output destination of Client CLI Console logs and Server CLI Console logs?
Category : 

Answer

■Changing the output destination
 You can change the output destination for both Client CLI Console log and Server CLI Console log. 
 The DataSpider Servista Help describes the output destination as follows:
  ---
  It is possible to change settings such as output contents, output destination, and rotation in dslog.properties.
  --

 For more information, please refer to the remarks column in the Server CLI Console log and the Client CLI Console log in the following DataSpider Servista Help:
  ・[Log Guide]-[Type of Log File]
   URL:https://www.hulft.com/help/en-us/DataSpider/dss42sp2/help/en/servista/service_production.html#log_guide

■How to Change the Settings
 You can change the log output destination by setting the file destination to the "dslog.dir" key in the "dslog.properties" file.

  Example: dslog.dir = d: / dslog / logs

 There are two types of "dslog.properties" files: one for a client and one for a server. Please refer to the following for the location and the note of each file:

 1.The File for a Client
  Location:
   $DATASPIDER_HOME/client/conf/dslog.properties
  Note:
   ・In addition to the Client CLI Console log, the destination of the Studio log is also changed at the same time.
   ・If you specify an incorrect destination (Missing drives, no permissions, etc.), DataSpider Studio will not start.

  Please refer to the following DataSpider Servista Help for details:
   ・[Property Reference]-[Client Property File]
    URL:https://www.hulft.com/help/en-us/DataSpider/dss42sp2/help/en/servista/properties_reference.html#dslog_std

 2.The File for a server
  Location:
   $DATASPIDER_HOME/server/conf/dslog.properties
  Note:
   ・In addition to the Server CLI Console log, the destination of the following logs is also changed at the same time:
     Server, exec, XML, Launch, Launch process, and access logs.
   ・If you specify an incorrect destination (Missing drives, no permissions, etc.), DataSpiderServer will not start.

  Please refer to the following DataSpider Servista Help for details:
   ・[Property Reference]-[Server Property File]
    URL:https://www.hulft.com/help/en-us/DataSpider/dss42sp2/help/en/servista/properties_reference.html#dslog_srv

■Related FAQ
 FAQ No. 24273
 [DataSpider Servista] Please explain a way to configure cli.log rotation.

 
Version Information
Ver.4.1、Ver.4.0、Ver.3.2