Skip to main content
19-Tanzanite
July 25, 2024
Solved

Integration Runtime logback Error

  • July 25, 2024
  • 1 reply
  • 1631 views

Hi Community,

 

I'm trying to run integration runtime with logback.xml. When I run below command in CMD

 

 

java -DconfigFile="integrationRuntime-settings.json" -Dlogs.includedLogback="logback.xml" -jar .\integration-runtime-8.0.14-b100.jar

 

 

Throws an error

Velkumar_0-1721893592765.png

 

logback.xml file content

 

<?xml version="1.0"?>
<included>

 <property name="logs.dir" value="C:\\ThingworxStorage\\IRlogs" />
 <property name="logs.uniqueId" value="${processId}" />
 <property name="logs.maxFileSize" value="1MB" />
 <property name="logs.maxIndex" value="5" />

 <logger name="com.twx.integration" level="DEBUG" />
 <logger name="org.apache.camel" level="DEBUG" />
 <logger name="org.apache.http" level="DEBUG" />

</included>

 

 

Also, I'm looking for a way to set IR log level to DEBUG mode

 

Could anyone please help me on this 

 

/VR

Best answer by Velkumar

Hi @Rocko 

 

Actually, commands work when I run CMD instead of Power Shell. With support of PTC case we found out this.

 

Resolution :

User Command prompt instead of power shell in windows machine.

 

/VR

1 reply

Rocko
19-Tanzanite
July 25, 2024

Any chance you copied that directly from the help center? Can you re-type manually?

It looks like it takes the logback as classname, which indicates the dash/hyphen might be not the "right" one.

Velkumar19-TanzaniteAuthor
19-Tanzanite
July 25, 2024

Hi @Rocko 

 

I didn't copy it. I typed manually only.

 

/VR

Velkumar19-TanzaniteAuthorAnswer
19-Tanzanite
July 26, 2024

Hi @Rocko 

 

Actually, commands work when I run CMD instead of Power Shell. With support of PTC case we found out this.

 

Resolution :

User Command prompt instead of power shell in windows machine.

 

/VR