How to turn-off info messages when generating the image using teoz?

0 votes
asked Oct 9 in Question / help by gino
edited Oct 9

I use plantuml 8024 on Ubuntu 16.04.

When generating the PNG file from a .plantuml with teoz, some info messages are printed to the console.

For example, with the following plantuml file:

@startuml

!pragma teoz true

skinparam monochrome true

skinparam ParticipantPadding 20

skinparam minClassWidth 200

hide footbox

participant Controller as CTRL

participant "Process1" as PROC1

participant "Process2" as PROC2

CTRL -> PROC1 : START

& CTRL -> PROC2 : START

rnote over CTRL : LABEL

@enduml

The following log messages are printed when doing "plantuml test.uml"

MainTile::drawUInternal tile=net.sourceforge.plantuml.sequencediagram.teoz.CommunicationTile@29ca901e y=0.0
MainTile::drawUInternal tile=net.sourceforge.plantuml.sequencediagram.teoz.CommunicationTile@49993335 y=0.0
MainTile::drawUInternal tile=net.sourceforge.plantuml.sequencediagram.teoz.NoteTile@64bfbc86 y=29.1328125
MainTile::drawUInternal finalY=68.265625
MainTile::getPreferredHeight=78.265625
OtherTile net.sourceforge.plantuml.sequencediagram.teoz.NoteTile@64bfbc86
MainTile::drawUInternal finalY=68.265625
MainTile::drawUInternal finalY=68.265625
MainTile::drawUInternal tile=net.sourceforge.plantuml.sequencediagram.teoz.CommunicationTile@29ca901e y=0.0
MainTile::drawUInternal tile=net.sourceforge.plantuml.sequencediagram.teoz.CommunicationTile@49993335 y=0.0
MainTile::drawUInternal tile=net.sourceforge.plantuml.sequencediagram.teoz.NoteTile@64bfbc86 y=29.1328125
MainTile::drawUInternal finalY=68.265625
MainTile::getPreferredHeight=78.265625
EventsHistory::getStairs totalHeight=78.265625
EventsHistory::getStairs event=net.sourceforge.plantuml.sequencediagram.Message@2781e022 CTRL->PROC1 [START] position=21.0
Stairs2::addStep 21.0-(false) 0 color=null
EventsHistory::getStairs event=net.sourceforge.plantuml.sequencediagram.Message@1877ab81 CTRL->PROC2 [START] position=21.0
Stairs2::addStep 21.0-(false) 0 color=null
EventsHistory::getStairs event=net.sourceforge.plantuml.sequencediagram.Note@42f93a98 position=null
EventsHistory::getStairs finishing totalHeight=78.265625
Stairs2::addStep 78.265625-(false) 0 color=null
EventsHistory::getStairs totalHeight=78.265625
EventsHistory::getStairs event=net.sourceforge.plantuml.sequencediagram.Message@2781e022 CTRL->PROC1 [START] position=21.0
Stairs2::addStep 21.0-(false) 0 color=null
EventsHistory::getStairs event=net.sourceforge.plantuml.sequencediagram.Message@1877ab81 CTRL->PROC2 [START] position=null
EventsHistory::getStairs event=net.sourceforge.plantuml.sequencediagram.Note@42f93a98 position=null
EventsHistory::getStairs finishing totalHeight=78.265625
Stairs2::addStep 78.265625-(false) 0 color=null
EventsHistory::getStairs totalHeight=78.265625
EventsHistory::getStairs event=net.sourceforge.plantuml.sequencediagram.Message@2781e022 CTRL->PROC1 [START] position=null
EventsHistory::getStairs event=net.sourceforge.plantuml.sequencediagram.Message@1877ab81 CTRL->PROC2 [START] position=21.0
Stairs2::addStep 21.0-(false) 0 color=null
EventsHistory::getStairs event=net.sourceforge.plantuml.sequencediagram.Note@42f93a98 position=null
EventsHistory::getStairs finishing totalHeight=78.265625
Stairs2::addStep 78.265625-(false) 0 color=null
MainTile::drawUInternal tile=net.sourceforge.plantuml.sequencediagram.teoz.CommunicationTile@29ca901e y=0.0
MainTile::drawUInternal tile=net.sourceforge.plantuml.sequencediagram.teoz.CommunicationTile@49993335 y=0.0
MainTile::drawUInternal tile=net.sourceforge.plantuml.sequencediagram.teoz.NoteTile@64bfbc86 y=29.1328125
MainTile::drawUInternal finalY=68.265625
MainTile::getPreferredHeight=78.265625
MainTile::drawUInternal finalY=68.265625

A different set of log messages are printed depending on the plantuml file, but they are always generated when using the teoz architecture.

The messages does not seem to be errors, but just info/debug messages. The PNG image is generated successfully and correctly. If I add the -failfast or -failfast2 option, the generation is not stopped. The messages are not also affected by the -quiet option.

Is there a way to turn them off?

commented Oct 9 by albert (2,690 points)
Just a small addition, with version 1.2018.12beta3 on windows I see:
OtherTile net.sourceforge.plantuml.sequencediagram.teoz.NoteTile@65775cce
OtherTile net.sourceforge.plantuml.sequencediagram.teoz.NoteTile@65775cce

1 Answer

0 votes
answered Oct 9 by plantuml (189,260 points)
 
Best answer
Ok, last beta http://beta.plantuml.net/plantuml.jar (V1.2018.12beta6) should be ok.

@albert : Is your diagram working despite "OtherTile net.sourceforge.plantuml.sequencediagram.teoz.NoteTile@65775cce" messages ?
commented Oct 10 by gino
The V1.2018.12beta6 JAR has resolved the issue on my end.  I don't see any info/debug messages anymore. (I don't have access to a Windows env so I can't confirm there).

Thanks!
commented Oct 10 by albert (2,690 points)
Yes the graph was generated. With version 1.2018.12beta6 the messages are gone as well.
...