User Tag List

Page 2 of 2 FirstFirst 1 2
Results 8 to 10 of 10

Thread: Explaining TrinityCore's Logging define directives

  1. #8
    Original Poster
    Founder <span style='color: #FF4500'>Tommy</span>'s Avatar
    Join Date
    Apr 2013
    Posts
    7,401
    XP
    3,450,055
    Level
    378
    Thanks
    892
    Thanked 1,860 Times in 1,121 Posts
    Quote Originally Posted by faiver View Post
    remplace
    LOG_FILTER_TSCR ???

    I have not idea.
    could help
    Just replace it with "misc"..

    I thought you might replace it with "misc", but I guess not. :/

  2. #9
    Enthusiast
    Join Date
    Feb 2014
    Posts
    2
    XP
    2,129
    Level
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts
    What is for LOG_FILTER_SQL - and what is for TC_LOG_DEBUG?

  3. #10
    Moderator / Eluna Dev <span style='color: #FF0000'><span class='glow_8B0000'>Rochet2</span></span>'s Avatar
    Join Date
    Apr 2013
    Location
    Finland
    Posts
    1,872
    XP
    13,759
    Level
    35
    Thanks
    95
    Thanked 596 Times in 422 Posts
    Quote Originally Posted by Sajjadfrank View Post
    What is for LOG_FILTER_SQL - and what is for TC_LOG_DEBUG?
    Not sure what you are asking here.

    TC_LOG_DEBUG is just a logging level. They go from fatal errors to lower and lower severity of error.
    TC_LOG_DEBUG would indicate that what you log isnt really something anyone needs to know unless they are debugging the application. Lets say for example that it would log specific values of a function call - you dont need to log those in normal use of a server. In a normal run of the server you would mostly want to know the most severe errors such as fatal errors, errors and warnings.
    Im sure the original function was sLog->outDebug(..); in the old versions.

    LOG_FILTER_SQL would be the "sql.sql" logger
    Last edited by Rochet2; 12-12-2016 at 06:48 PM.
    Awards:
    Support LOL Scripter Facepalm! Raffle Winner
    rochet2.github.io - Home of great codes

Thread Information

Users Browsing this Thread

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

Posting Permissions

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