Results 1 to 4 of 4
-
10-05-2012, 22:37 #1
-= TeamSpeak Addict =-
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 115
Logview using the queryport--> How to retrieve all Log-Entries?
Hello,
for my TS3QueryLib.Net I implemented a method to retrieve log entries using the queryport.
The problem I have is how to retrieve all the log entries? The query is limited to a max. of 100 Logentries per call.
From the docs:
I thought begin_pos is the option I can use. I thought it is the linenumber or lineindex to start at, but as I can see it.. it is the END-Index of the whole logfile. So everything is returned until this index. (but it is limited, too).Code:Displays a specified number of entries from the servers log. If instance is set to 1, the server will return lines from the master logfile (ts3server_0.log) instead of the selected virtual server logfile. Permissions: b_serverinstance_log_view b_virtualserver_log_view Syntax: logview [lines={1-100}] [reverse={1|0}] [instance={1|0}] [begin_pos={n}]
So whats the way to go here?
I think the parameter is buggy and is not doing what it should do.
Thanks!
SCO
-
15-05-2012, 08:18 #2
-= TeamSpeak Team =-
- Join Date
- Jun 2008
- Posts
- 7,773
The paramters work as they should and yes the logview is limited to max. 100 entrys this can not be changed.
When you send a normal "logview", then it will show the last 100 entrys (from old to newest) and it shows the last position (last_pos=) of entry 101. You can use this value from last_pos, to start reading the log from entry 101.
As said above, you only can see a maximum of 100 entrys and now you use the paramter begin_pos= and the number from last_pos= to read from entry 101.---------------------------------------------------------
Please don't send me private messages with support questions as long I or someone else from Teamspeak Staff asked for it.
Seriously > They belong into the forum and maybe other users have these questions/problems too.
TeamSpeak FAQ || What should i report, when i open a client thread? || Report and upload your Crashdump here
NPL License (Registration)
-
12-01-2013, 23:30 #3
-= TeamSpeak User =-
- Join Date
- May 2006
- Location
- California
- Posts
- 27
What is the file_size value? I can't find any information about it.
-
14-01-2013, 09:59 #4
-= TeamSpeak Team =-
- Join Date
- Jun 2008
- Posts
- 7,773
This is the size from your log file.
---------------------------------------------------------
Please don't send me private messages with support questions as long I or someone else from Teamspeak Staff asked for it.
Seriously > They belong into the forum and maybe other users have these questions/problems too.
TeamSpeak FAQ || What should i report, when i open a client thread? || Report and upload your Crashdump here
NPL License (Registration)
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Cant retrieve WAN ip
By lynxwolf in forum WindowsReplies: 5Last Post: 28-03-2012, 22:52 -
How to retrieve TS3 Server Protocol?
By slowmoe in forum Server SupportReplies: 1Last Post: 05-03-2012, 10:11 -
[solved] how can i retrieve my identity
By bobmillionaire1 in forum General QuestionsReplies: 5Last Post: 27-07-2010, 07:37 -
Problem with telnet command logview
By Stefan1200 in forum Linux / FreeBSDReplies: 5Last Post: 14-02-2010, 04:24 -
How do you retrieve info
By PurpleRaison in forum [TeamSpeak 2] Addons & ScriptsReplies: 11Last Post: 28-02-2006, 06:23


Reply With Quote