[FOLIO-2430] vagrant box's okapi started with log4j properties (not log4j2) Created: 20/Jan/20  Updated: 03/Jun/20  Resolved: 29/Jan/20

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Bug Priority: TBD
Reporter: Adam Dickmeiss Assignee: Ian Hardy
Resolution: Done Votes: 0
Labels: platform-backlog
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Sprint: CP: sprint 80/81
Development Team: Core: Platform

 Description   

with ps I get:

/usr/bin/java -DhttpCache=true -Djava.awt.headless=true -Dstorage=postgres -Dpostgres_host=10.0.2.15 -Dpostgres_port=5432 -Dpostgres_user=okapi -Dpostgres_password=okapi25 -Dpostgres_database=okapi -Dhazelcast.logging.type=log4j -Dlog4j.configurationFile=/etc/folio/okapi/log4j.properties -Dhost=10.0.2.15 -Dport=9130 -Dport_start=9131 -Dport_end=9661 -DdockerUrl=http://localhost:4243 -Dokapiurl=http://10.0.2.15:9130 -jar /usr/share/folio/okapi/lib/okapi-core-fat.jar dev

Looks like log4j_config just needs updating in /etc/folio/okapi/okapi.conf ,



 Comments   
Comment by Adam Dickmeiss [ 28/Jan/20 ]

Ian Hardy .. https://github.com/folio-org/folio-ansible/pull/322 and https://github.com/folio-org/folio-ansible/pull/323
what was wrong ?

Comment by Ian Hardy [ 28/Jan/20 ]

Adam Dickmeiss My mistake, I backed that out when we had pinned to the old release of okapi briefly. I'll update the name back to log4j2.properties

Comment by Ian Hardy [ 29/Jan/20 ]

verified on latest snapshot-core vagrant build.

okapi     2443 49.6 10.8 4576612 890872 ?      Sl   15:44   0:10 /usr/bin/java -Djava.awt.headless=true -Dstorage=postgres -Dpostgres_host=10.0.2.15 -Dpostgres_port=5432 -Dpostgres_user=okapi -Dpostgres_password=okapi25 -Dpostgres_database=okapi -Dhazelcast.logging.type=log4j -Dlog4j.configurationFile=/etc/folio/okapi/log4j2.properties -Dhost=10.0.2.15 -Dport=9130 -Dport_start=9131 -Dport_end=9661 -DdockerUrl=http://localhost:4243 -Dokapiurl=http://10.0.2.15:9130 -jar /usr/share/folio/okapi/lib/okapi-core-fat.jar dev
Generated at Thu Feb 08 23:20:34 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.