Forum Stats

  • 3,851,952 Users
  • 2,264,054 Discussions
  • 7,904,914 Comments

Discussions

Can we change the format for application.log file in endeca

3140469
3140469 Member Posts: 1
edited Jan 16, 2020 4:40AM in Endeca Information Discovery

Customer Problem Description
---------------------------------------------------

Problem Summary
---------------------------------------------------
Can we change format for log files of indexing jobs like baseline or partial update?

Problem Description
---------------------------------------------------
Hello,

I want to change logs format for my partial update job.
Can we do that?

Currently partial update job logs looks like:
Jan 07, 2020 5:30:02 AM bsh.Reflect invokeMethod
INFO: Starting partial update script.
Jan 07, 2020 5:30:02 AM com.endeca.soleng.eac.toolkit.base.LockManager acquireLock
INFO: Acquired lock 'update_lock'.
Jan 07, 2020 5:30:03 AM com.endeca.soleng.eac.toolkit.component.CheckPartialUpdate isPartialUpdateRequired
INFO: The number of records to be processed for this partial is = 2403

And i want to change it to:
The new format should be:
Jan 07, 2020 5:30:02 AM bsh.Reflect invokeMethod INFO: Starting partial update script.
Jan 07, 2020 5:30:02 AM com.endeca.soleng.eac.toolkit.base.LockManager acquireLock INFO: Acquired lock 'update_lock'.
Jan 07, 2020 5:30:03 AM com.endeca.soleng.eac.toolkit.component.CheckPartialUpdate isPartialUpdateRequired INFO: The number of records to be processed for this partial is = 2403

Info message should append with date and time line.
Kindly reply.

Regards,
Priyanka