Community Forums Today's Posts     Member List     Archive    
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    115

    Question 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:

    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}]
    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).

    So whats the way to go here?
    I think the parameter is buggy and is not doing what it should do.

    Thanks!
    SCO

  2. #2
    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)

  3. #3
    Join Date
    May 2006
    Location
    California
    Posts
    27
    What is the file_size value? I can't find any information about it.

  4. #4
    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

  1. Cant retrieve WAN ip
    By lynxwolf in forum Windows
    Replies: 5
    Last Post: 28-03-2012, 22:52
  2. How to retrieve TS3 Server Protocol?
    By slowmoe in forum Server Support
    Replies: 1
    Last Post: 05-03-2012, 10:11
  3. [solved] how can i retrieve my identity
    By bobmillionaire1 in forum General Questions
    Replies: 5
    Last Post: 27-07-2010, 07:37
  4. Problem with telnet command logview
    By Stefan1200 in forum Linux / FreeBSD
    Replies: 5
    Last Post: 14-02-2010, 04:24
  5. How do you retrieve info
    By PurpleRaison in forum [TeamSpeak 2] Addons & Scripts
    Replies: 11
    Last Post: 28-02-2006, 06:23

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •