Supress logs on using java -jar plantuml.jar -p

0 votes
asked Apr 23 in Question / help by anonymous

Im using the par-file for plantuml to generate different diagrams, executing .jar via GOlang

e.g. java -jar plantuml.jar -p -quiet -tsvg

This way i do not need to mess around with generating and cleaning up files

But a problem i have is, that it seems that additional log-lines are provides which are then stored into the image file and mess it up

It also seems that the logs are differentiating on other machines, despite the fact that they are using the same java and plantuml version

java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)

PlantUML version 1.2024.4 (Sat Apr 06 16:33:20 CEST 2024)
(GPL source distribution)
Java Runtime: Java(TM) SE Runtime Environment
JVM: Java HotSpot(TM) 64-Bit Server VM
Default Encoding: Cp1252

Examples are:

At Beginning:

[Date] [INFO] ThreadId 1 ThreadName: main JAVA BRIDGE CONSTRUCTOR.

[Date] [INFO] ThreadId 1 ThreadName: main os.arch: amd64

At End:

Dll Process Attached

Dll Process Detach

Picked up JAVA_TOOL_OPTIONS: -Duser.language=en

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...