Server logs are generated automatically by appending current date


i have log files in my application , but what happens is the new log file is getting generated by appending date at the back . can i know why this is happening .

thnx in advance
Who is Participating?
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.

What application is this?

If you have a configuration file for this application you look at something like log rotation or logging file name, etc.

TheMajesticAuthor Commented:
this is the script i wrote ,, R

is this because of the "org.apache.log4j.DailyRollingFileAppender" it is appending the date with the file??

TheMajesticAuthor Commented:
the problem now is the files are generating but ,

The data is appending both in ExtendedRequestLog.log and also in ExtendedRequestLog.log_<yesterday_data>.

Why this happenes ???

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

KWhat the line below is doing?

TheMajesticAuthor Commented:
That gives the date pattern which should be added to the file .

but the problem now is :  lets sat boo.log is changed to boo_<date>.log at midnight 12.
but still the logs are going in boo_<date>.log and also in boo.log

the another thing is boo.log contains one part of the log and boo_<date>.log contains another part.
TheMajesticAuthor Commented:
I found the solution , this happenes because of the Zombie process.

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
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
System Programming

From novice to tech pro — start learning today.