PDA

View Full Version : logs?


archon1
11-11-2002, 05:19 PM
Is there any sort of log or anything that I can look at in my tivo to see what channels have been watched? It would be nice to be able to tell if my kids are watching stuff they shouldn't. Thanks,

Archon1

genericuser
11-12-2002, 01:34 PM
Look in /var/logs directory. There is ALL sorts of stuff in there. The tivo logs EVERY keystroke you make.

archon1
11-12-2002, 05:17 PM
Well, I don't see anything much except recorded programs. I guess something I installed at some point kills the logs. Maybe I need to try it out right before my tivo "phones" home.

Archon1

Will
11-12-2002, 05:55 PM
>> Is there any sort of log or anything that I can look at in my tivo to see what channels have been watched? It would be nice to be able to tell if my kids are watching stuff they shouldn't. <<

Your kids were asking the same about you. I told them that I thought that was a little sick, but I did point out that there has been lots of discussion here about logs over the last year or so and a search would probably turn up some information.

archon1
11-12-2002, 07:20 PM
Hmmm...I thought I was the only sick bastard in the family.

Guess I'll wade through the MASS of posts about log files.
(There's 244 threads about logs). I was just trying to expedite the process of learning.

Archon1

Krokus
11-12-2002, 10:35 PM
I think it's a valid question. I have been trying to figure this out myself. I installed XplusZ for that very reason but most of the logs are just empty when you scroll through them. Mabye i'm doing it wrong. ?!?!?

Krokus

CPotato
11-13-2002, 11:10 AM
Ok, to clarify for my self, when were talking about logs are we talking about the history under the To Do List or are there internal logs that I would need to bash inorder to see.

I tried #17 (clear logs) option on XplusZ on one Tivo looked like it worked fine but on anther the logs were still there? Am I doing it right, am I looking at the same logs as referenced here and in all the log postings?

thanks

Torg
11-13-2002, 11:58 AM
What the clear logs does is replace the files with a specail file (called a charactor device) with a major number of 1 and a minor number of 3.

Major and Minor numbers is how Linux notes device files. Every device has one of these and is how things communicate to the hardware, sockets, buffers, etc. In this case specificly Major 1 is the memory, device 3 is a null sync. In other words Major 1 Minor 3 is /dev/null or the bit bucket. You can write to this device and it will record nothing.

So what the command does is replace the logs with special files that take no room (ok they take an inode for their entry). You can see this by typing "ls -l /var/log". They will look like this:

crw-rw-rw- 1 0 0 1, 3 Nov 13 12:17 messages

The c of the first charactor denotes this as a charactor file. The rw-rw-rw- are its permissions. The 1, 3 is its major and minor number.