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!
LVL 2
paulrauschAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
paulrauschAuthor Commented:
Helpful and to the point. Best kind of help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.