Hello,
is it possible to log which client accesses which file on twonky server and how long?
Richie
Logging Client Access
-
- Posts:2
- Joined:Sat Aug 20, 2011 3:51 pm
- AV Hardware:UE40C6710 / Thecus N2100
- parnott
- Posts:326
- Joined:Mon Sep 20, 2010 9:55 pm
- AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)
Re: Logging Client Access
The only way I know of would be to turn on logging in Twonky. Then write a script/process to analyse the log file to pick out the client requests you are interested in.
Downsides-
1) The log file will be huge because of all the other information that is recorded in the log.
2) Don't believe there is any way to determine how long a client was accessing the server. Maybe there is, but I have not looked at Twonky log files for some time.
PS. Why do you want to do this?
Downsides-
1) The log file will be huge because of all the other information that is recorded in the log.
2) Don't believe there is any way to determine how long a client was accessing the server. Maybe there is, but I have not looked at Twonky log files for some time.
PS. Why do you want to do this?
-
- Posts:2
- Joined:Sat Aug 20, 2011 3:51 pm
- AV Hardware:UE40C6710 / Thecus N2100
Re: Logging Client Access
do you know whch loglevel i have to choose? build a script and "grep&sed" the needed entries should not be the problem.
by the way: twonky is running at home - it's only for my own interessest. the play instinct that comes when running a small home server.
by the way: twonky is running at home - it's only for my own interessest. the play instinct that comes when running a small home server.
- parnott
- Posts:326
- Joined:Mon Sep 20, 2010 9:55 pm
- AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)
Re: Logging Client Access
These days I just turn on logging in the Maintenance config page.
The ini file does have this option-
# Log level (0:debug, 1:trace, 2:info, 3:warning, 4:error, 5:critical)
vlevel=4
My guess would be 1 or 2. But you may have to experiment.
The ini file does have this option-
# Log level (0:debug, 1:trace, 2:info, 3:warning, 4:error, 5:critical)
vlevel=4
My guess would be 1 or 2. But you may have to experiment.