[RMB-709] structured logging in RMB Created: 25/Aug/20  Updated: 14/Dec/21  Resolved: 04/Jan/21

Status: Closed
Project: RAML Module Builder
Components: None
Affects versions: None
Fix versions: 32.0.0

Type: New Feature Priority: P3
Reporter: Jakub Skoczen Assignee: Mikhail Fokanov
Resolution: Done Votes: 0
Labels: platform-backlog
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Blocks
is blocked by RMB-609 Migrate RMB to Vert.x 4 Closed
is blocked by RMB-763 Migrate RMB to Vert.x 4 (development) Closed
Duplicate
duplicates FOLIO-849 Logging formats for backend FOLIO mod... Closed
Relates
relates to FOLIO-2511 SPIKE: investigate JSON layout to Oka... Closed
relates to RMB-768 Default log4j2 logging should be line... Closed
relates to RMB-890 No context parameters logged Closed
Sprint: CP: sprint 105
Story Points: 3
Development Team: Core: Platform

 Description   

RMB implementation of structured logging. Shared code exists in okapi-common on top of which the RMB implementation should be based. This is blocked on the vert.x 4 migration.



 Comments   
Comment by Mikhail Fokanov [ 03/Sep/20 ]

Blocked by migration RMB to Vert.x 4.

Comment by Julian Ladisch [ 03/Dec/20 ]

Jakub Skoczen: What log format should be the default for RMB based modules when running main (non-test) code?

  • traditional PatternLayout
  • JSON layout

https://folio-org.atlassian.net/wiki/display/DD/Folio+logging+solution says

For any logging aggregation solution json format of logs is preferable over plain text in terms of performance and simplicity of parsing. All Folio modules should have the same json format for logs

Does "preferable" means RMB default?

Or should sysOps/deploy scripts be required to add some log option parameter when starting an RMB based module to switch from PatternLayout to JSON layout?

Comment by Jakub Skoczen [ 24/Dec/20 ]

Mikhail Fokanov By default the traditional pattern layout should be used, just like in Okapi.

Comment by Mikhail Fokanov [ 24/Dec/20 ]

Jakub Skoczen Ok, thanks. AFAIK, It has already been changed in RMB by Adam Dickmeiss.

Generated at Thu Feb 08 23:22:58 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.