Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hello Team,
Couldn't view any of the logs (Application Log/Script Log etc.,) from 'Monitoring' screen after Upgrading Thingworx-Platform-Postgres from 8.5.3 to 8.5.19.
Below are the error details from log file:
14:01:45,706 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml] 14:01:45,707 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy] 14:01:45,707 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/opt/apache-tomcat/webapps/Thingworx/WEB-INF/lib/thingworx-platform-common-8.5.19-b1113.jar!/logback.xml] 14:01:45,728 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@62b635fe - URL [jar:file:/opt/apache-tomcat/webapps/Thingworx/WEB-INF/lib/thingworx-platform-common-8.5.19-b1113.jar!/logback.xml] is not of type file 14:01:45,784 |-INFO in ch.qos.logback.classic.joran.action.LoggerContextListenerAction - Adding LoggerContextListener of type [com.thingworx.logging.LogbackCustomLoggerContextListener] to the object stack 14:01:46,720 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [CommunicationLog] to INFO 14:01:46,720 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [CommunicationLog] to false 14:01:46,721 |-ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - Could not find an appender named [ASYNC_APPENDER_COMMUNICATION]. Did you define it below instead of above in the configuration file? 14:01:46,721 |-ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - See http://logback.qos.ch/codes.html#appender_order for more details. 14:01:46,729 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@14:78 - no applicable action for [encoder], current ElementPath is [[configuration][logger][encoder]] 14:01:46,729 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@15:22 - no applicable action for [pattern], current ElementPath is [[configuration][logger][encoder][pattern]] |
Below is the screen of Monitoring screen:
Also, please find the attached logback.xml.
Thank You.
Solved! Go to Solution.
Hello, check if you have a custom /ThingworxPlatform/logback.xml file. If you do — compare it with what is bundled with ThingWorx, as this link describes: https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Composer/System/Logs/configuringlogging.html
/ Constantine
Hello, check if you have a custom /ThingworxPlatform/logback.xml file. If you do — compare it with what is bundled with ThingWorx, as this link describes: https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Composer/System/Logs/configuringlogging.html
/ Constantine
Hello,
Yes, we do have a custom logback.xml file which was attached in the post. After changing the logback.xml format (appender should be separated from logger) as per the link it worked. Thank You.