jimfa
Contributor
Contributor

workaround log4j for vcsa 7

Jump to solution

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)
0 Kudos
1 Solution

Accepted Solutions
mathiel
Contributor
Contributor

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
Contributor
Contributor

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

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.

0 Kudos