VMware Cloud Community
jimfa
Contributor
Contributor
Jump to solution

workaround log4j for vcsa 7

Hi i'm implementing the workaround:  https://kb.vmware.com/s/article/87081

But in thet verification part of the UPDATE manager, step 2:

  1. Verify the Update Manager changes are shown under "System Properties" in the output of the following two commands:

cd /usr/lib/vmware-updatemgr/bin/jetty/
java -jar start.jar --list-config
 

System Properties:
------------------
 log4j2.formatMsgNoLookups = true (/usr/lib/vmware-updatemgr/bin/jetty/start.ini
)

 

I get an other output:

System Properties:
------------------
(no system properties specified)

Properties:
-----------
Dlog4j2.formatMsgNoLookups = true

 

can i assume that this is perform propperly, all other verification look good as discribed in the article 

 

 

Tags (3)
Reply
0 Kudos
1 Solution

Accepted Solutions
mathiel
Enthusiast
Enthusiast
Jump to solution

seems you inserted a double dash before "Dlog4j2.formatMsgNoLookups=true"  in /usr/lib/vmware-updatemgr/bin/jetty/start.ini  ?

made the same mistake 😉, only use one dash!

 

View solution in original post

2 Replies
mathiel
Enthusiast
Enthusiast
Jump to solution

seems you inserted a double dash before "Dlog4j2.formatMsgNoLookups=true"  in /usr/lib/vmware-updatemgr/bin/jetty/start.ini  ?

made the same mistake 😉, only use one dash!

 

jimfa
Contributor
Contributor
Jump to solution

Hello Mathiel,

Thank you for response, I didn't put the first dash, i thought it was a typo, stupid me. 

Now it is set properly, 

System Properties:
------------------
log4j2.formatMsgNoLookups = true (/usr/lib/vmware-updatemgr/bin/jetty/start.ini)

Thanks again, @mathiel 

To all good luck with patching your environment.

Reply
0 Kudos