• Font Size
  • S
  • M
  • L

Search via FAQ No.


  • No : 30798
  • Open Date : 2019/09/05 12:31
  • Print
NEW

[DataSpider Servista] How can I output the access log?

I want to output the access log, but it was not outputted by default.
How do I get access log output?
Category : 

Answer

The setting of "dslog.properties" and “DataSpiderServer.lax" are required to enable an access log output.
Please refer to the following procedure and set "dslog.properties" and "DataSpiderServer.lax".

■Procedure

  1. Edit the key "accesslog =" in $DATASPIDER_HOME//server/conf/dslog.properties, change "$ {ACCESSLOG_OFF}" to "$ {ACCESSLOG_ALL}", and save it.
  2. Specify the following option in the $DATASPIDER_HOME//server/bin/DataSpiderlServer.lax setting key "lax.nl.java.option.additional =" and save it.

-javaagent:../system/common/lib/aspectjweaver.jar

  1. Restart the DataSpiderServer.
  2. Execute access log output operation and access log output to $ DATASPIDER_HOME / server / logs / access.log

[Reference]
 「dslog.properties」
  URL:https://www.hulft.com/help/en-us/DataSpider/dss42sp2/help/en/servista/properties_reference.html#dslog_srv

 「DataSpiderServer.lax」
  URL:https://www.hulft.com/help/en-us/DataSpider/dss42sp2/help/en/servista/properties_reference.html#server_lax

[Target processing]

  • Login / Logout
  • Create, modify, and delete settings saved on DataSpiderServer side
  • Read, write, and delete files on DataSpider file system
  • Create and delete directories on DataSpider file system
  • The following process to change the status of DataSpiderServer

Example: [Delete temporary directory], [End process], [Reset pool], etc.

■Supplementary
 The access log is rotated by date with the file name "access.log.yyyy-MM-dd". In addition, since the access log deletion is not performed automatically, it is necessary to manage so that disk capacity is not compressed.

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