• Font Size
  • S
  • M
  • L

Search via FAQ No.


  • No : 30794
  • Open Date : 2019/09/05 12:23
  • Print
NEW

[DataSpider Servista] Please explain how to output the date and time together in the application log.

In the current application log output contents, the date (up to millisecond) is not output, and it is difficult to confirm the correct processing date (up to millisecond). How do I set it to output the date as well as the time?
Category : 

Answer

The format of the time information output in the application log can be changed with [Layout].

The default value is "[%c]% m [% d {HH: mm: ss}]% n".

If you want to output the date and time (up to milliseconds), you can use "[%c]% m [yyyy /MM/dd HH: mm: ss, SSS}]% n".

*yyyy: year MM: month dd: day HH: hour mm: minute ss: second SSS: milliseconds.
 Sample output:  2019/02/08 10:05:25,115

 For more details on [layout] other than the above, please refer to the following help.

  • [Application log output destination setting]-[Application log output destination setting function]-[Create new application log output destination]-[Layout]

URL:https://www.hulft.com/help/en-us/DataSpider/dss42sp2/help/en/studio/application_logger.html#layout

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