cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

ThingWorx logs inside Tomcat logs

svisveswaraiya
17-Peridot

ThingWorx logs inside Tomcat logs

Hi,

We have 2 questions regarding the logs in ThingWorx.

  1. In the thingworx foundation stderr logs, its returning all the logs from info to error. Is there an option to log only errors in the file?

     2. How to break the thingworx stderr & stdout file based on date or size? Because right now everyday logs           are logged in the same file unless it the tomcat service is restarted.svisveswaraiya_0-1638860446847.png

 

Thanks in advance,

ShaliniV

ACCEPTED SOLUTION

Accepted Solutions

Hi @svisveswaraiya.

 

You're actually referring to the logs located in <tomcat_home>\logs, correct?  Here is a link to an article that may be helpful for limiting the size of the logs.  For limiting the content of the messages, there is a level option that may allow you to tweak what gets written:

 

Example:  <File Handler>.java.util.logging.FileHandler.level = FINE

 

You can refer to this page for the logging levels.  This will need to be applied to any of the file handlers you wish to adjust.

 

Regards.

 

--Sharon

 

 

 

 

View solution in original post

1 REPLY 1

Hi @svisveswaraiya.

 

You're actually referring to the logs located in <tomcat_home>\logs, correct?  Here is a link to an article that may be helpful for limiting the size of the logs.  For limiting the content of the messages, there is a level option that may allow you to tweak what gets written:

 

Example:  <File Handler>.java.util.logging.FileHandler.level = FINE

 

You can refer to this page for the logging levels.  This will need to be applied to any of the file handlers you wish to adjust.

 

Regards.

 

--Sharon

 

 

 

 

Announcements


Top Tags