• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 317
  • Last Modified:

Avaya / OneXPortal logs taking up 150GB, looking for method of deleting.

Looks like the majority of the space on our VM running Avaya is taken up by Logs from OneXPortal, under tomcat/apache-tomcat-6.0.18/logs.

The logs are basically all 1xOverallRollingFile-(date) and 1XPresentationLayerRollingFile(date), and I was wondering if there is a way that I can delete these manually, and/or enable a way of having these deleted after a certain time period (ie; only the current month kept).
Several Hundred Megabytes are eaten per day by these logs.

Anyone with any experience in this particular issue, please let me know your thoughts. Thank you Experts!
0
paulrausch
Asked:
paulrausch
  • 2
  • 2
1 Solution
 
gheistCommented:
find tomcat/apache-tomcat-6.0.18/logs -type f -mtime +60 -print0 | xargs -0 rm -i
will ask you to delete any file not modified for 60 days.

Or switch to log4j as in DOC:
https://tomcat.apache.org/tomcat-6.0-doc/logging.html
which integrates rudimentary log rotation functionality.
0
 
paulrauschAuthor Commented:
Getting xargs is not recognized as internal or external command
Run this through cmd prompt?
Not familiar with running commands against tomcat/apache
0
 
gheistCommented:
The way you typed slashes I assumed you run some sort of UNIX.
In windows navigate to directory using explorer and find old files. Since you have no reasonable log management solution in system you have to use log4j (easiest is to ask avaya support for guidance)
0
 
paulrauschAuthor Commented:
Helpful and to the point. Best kind of help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now