Forum

Results 1 to 5 of 5
  1. #1
    Join Date
    May 2015
    Posts
    17

    TS3-Client(API) How to disable the logging?

    Hi again,

    I have a question for the client side of the api. As you know the client automatically creates a “logs” folder and puts there “.log” files in. Is there a way to disable this? I can’t find any solution in the documentation.

    I want to make this client working in a folder where the client has no permission to write, but the client api has a problem when he can’t write the log folder and files.

    How can I disable this?

    With good greetings

    NeoX

  2. #2
    Join Date
    June 2008
    Posts
    17,810
    //////Edit after talking to a developer Edit/////

    This is possible
    It's in the documentation (client.pdf and server.pdf) under the point Initializing


    LogType_FILE = 0x0001 is the default value we use.
    I was told that it is recommended to use "LogType_USERLOGGING = 0x0004"
    Last edited by dante696; February 29th, 2016 at 11:31 AM.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  3. #3
    Join Date
    May 2015
    Posts
    17
    Hi,

    Thank you for the response dante696.

    This makes it really hard to work with the TS3-API in the business-sector, because of a lot of security guides, who set the most of the folders write-protected and give only a few folder write-accesses and to place the client into the user-documents or the %temp% folder is a horrible idea.

    If I could request a wish for the next version, please make the logging output controllable in existents or where it will be placed. This would give the api a very big boost of usability.

    With good greetings

    NeoX

  4. #4
    Join Date
    June 2008
    Posts
    17,810
    I did edit my answer above, since this is possible.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  5. #5
    Join Date
    May 2015
    Posts
    17
    hi,

    thank you! this really helped me a lot! I tought that it would not work, because in the doku it says:

    enum LogTypes {
    LogType_NONE = 0x0000,
    LogType_FILE = 0x0001,
    LogType_CONSOLE = 0x0002,
    LogType_USERLOGGING = 0x0004,
    LogType_NO_NETLOGGING = 0x0008,
    LogType_DATABASE = 0x0010,
    };

    and LogType_NONE and LogType_NO_NETLOGGING did not work, so i asked here.
    Thank you so much for your help! this makes it now so much better to work with the API.

    You can set the Thread to "solved" if you want.

    With good greetings

    NeoX

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Disable The viewing Of Client IP's?
    By zeroethan in forum General Questions
    Replies: 3
    Last Post: June 19th, 2012, 05:48 PM
  2. no client ip logging any more ??
    By Frbnet in forum Windows
    Replies: 1
    Last Post: November 16th, 2010, 07:42 AM

Posting Permissions

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