Season 15 and Demonbuddy, working as of 21th September 2018!
  • Visit Rebornbuddy
  • Visit Demonbuddy

Disable Logging

Discussion in 'Exilebuddy Support' started by maukor, Apr 14, 2018.

Tags:
Thread Status:
Not open for further replies.
  1. maukor

    maukor Member

    Joined:
    Aug 4, 2013
    Messages:
    45
    Likes Received:
    2
    Trophy Points:
    8
    Hi. Is there a way to disable logs ? my bot works perfect and i dont wanna read them and waste disk space. Thanks ; )
     
    lexluthor likes this.
  2. solenrus

    solenrus Member

    Joined:
    Mar 30, 2014
    Messages:
    199
    Likes Received:
    2
    Trophy Points:
    18
    Bump, I need to know how to disable or at least lessen the amount of logging, please!
     
  3. pushedx

    pushedx Moderator Moderator Buddy Core Dev

    Joined:
    Sep 24, 2013
    Messages:
    4,258
    Likes Received:
    290
    Trophy Points:
    83
    Not recommended, but if you really want to, call this code someone in a plugin or routine:
    Code:
    Loki.Common.Logger.ChangeLogFilterLevel(log4net.Core.Level.Off, log4net.Core.Level.Off);
    
     
    Evilinex and solenrus like this.
  4. solenrus

    solenrus Member

    Joined:
    Mar 30, 2014
    Messages:
    199
    Likes Received:
    2
    Trophy Points:
    18
    Thanks,

    I turned off logging for virtually everything and now the game runs like as if EB is not even running. I used to get crazy frame issues/drops on a very high end machine and to think that logging affected it that much is kind of crazy, but I was really convinced that was the issue anyways.

    You might want to implement a global level of logging setting, like DB used to have when I used it like a year or so ago, dont know if they still have it.

    Cheers
     
    Nazarick likes this.
  5. Infinite Monkeys

    Infinite Monkeys Community Developer

    Joined:
    Jul 7, 2012
    Messages:
    223
    Likes Received:
    16
    Trophy Points:
    18
    Posting to bookmark. Need to see if this actually affects performance. My pc sucks.
     
  6. pushedx

    pushedx Moderator Moderator Buddy Core Dev

    Joined:
    Sep 24, 2013
    Messages:
    4,258
    Likes Received:
    290
    Trophy Points:
    83
    No setting for logging because then when things do go wrong, we'd have no way of being able to fix the issue or help them understand the problem!
     
  7. solenrus

    solenrus Member

    Joined:
    Mar 30, 2014
    Messages:
    199
    Likes Received:
    2
    Trophy Points:
    18
    That is just plain wrong way of thinking. Forcing a user into a certain choice is not quite better and should the user come across problems it's their fault that they have disabled certain features willingly. Hell, you might even want to add a disclaimer as long as it it's there.
    Otherwise, the bot has been working great and I appreciate all of your work done regardless.
    My 2 cents.
     
  8. pushedx

    pushedx Moderator Moderator Buddy Core Dev

    Joined:
    Sep 24, 2013
    Messages:
    4,258
    Likes Received:
    290
    Trophy Points:
    83
    Our way of thinking is just fine. Users who know what they are doing and are willing to accept the results can execute the code I mentioned above to do what they want.
     
    realBlue and solenrus like this.
Thread Status:
Not open for further replies.

Share This Page