You are hereForums / Bugs / Confused log files

Version 1.9.9 is out. We have added support for Youtube mobile videos, Facebook, AOL and MySpace videos as well. Fixed caching issues for some already supported websites. Options to control cache directory selection algorithm, bandwidth usage by videocache, etc. More robust videocache scheduler with a lot more options and features. Have a look at changelog for more details. If you have purchased Videocache in last one year, Contact Us to claim your free upgrade. Please mention the email address using which you purchased Videocache. New users proceed to Pricing Page right now, secure your copy and enjoy caching :-) Also, check our new and simplified upgrade policy :-)

Confused log files


3 replies [Last post]
Offline
Joined: Dec 18 2008
Confused log files
Printer-friendly versionSend to friend

Hello!

I rebooted my machine at 12:49 and now I see:

-rw-r----- 1 squid squid 0 3 feb 12:52 videocache.log
-rw-r----- 1 squid squid 23868682 3 feb 12:58 videocache.log.1
-rw-r----- 1 squid squid 1130957245 3 feb 12:49 videocache.log.2

videocache rotated the logs but it is writting to videocache.log.1

Using version 1.7.

Regards,

Josep Pujadas

admin's picture
Offline
Joined: Nov 2 2008

Hey Josep,

I double checked the program. I couldn't really figure out a problem place. Did it happen once or it is always trying to write to videocache.log.1 ?

Thank You!

Offline
Joined: Dec 18 2008

Kulbir,

In fact yesterday had the same problem. But I did'nt see up today.

Yesterday I rebooted the machine and videocache was writing the logs to videocache.log.1 (today's videocache.log.2). You can see this with the date&hour of the log files.

I saw this sometimes, when a process it is not closed and there is an access to the file. It is possible to change the filename but the process continues writting to the file (with the new filename) instead than using a new file.

For example, I use rotate command to rotate the logs of my apache servers. After rotating it is necessary to restart the apache daemon. If not, the logs go to the rotated files, not to the new log files.

But I rebooted the machine ... I don't understand.

Perhaps you rotate when videocache is yet working and has writed to the log file?

Regards,

Josep Pujadas

admin's picture
Offline
Joined: Nov 2 2008

Hi Josep,

I got your point. And figured out what is going wrong :) Thanks for the analogy. Will be fixed in next version.

Thank You!

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <code>
  • Lines and paragraphs break automatically.
  • HTML tags will be transformed to conform to HTML standards.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters (without spaces) shown in the image.

My Book on Squid

Purchase/Renew

One License - USD $399
One License - USD $349*
Validity - One Year
Need more? Contact Us
*Includes free upgrades and support for one year.



For details, check pricing.

Recent comments

Who's online

There are currently 1 user and 113 guests online.