Jump to content
TrinityCore

Is there a way to get the log of the server ?


Lenny4
 Share

Recommended Posts

Hi, I notice that the wordl server display a message when he think that a player is cheating.

I would like to know if there a way to get the all the server log messages using php (or another way).
I notice that the file Server.log contain some logs but not all of them for me the log stop at :

"TrinityCore rev. e86a2c439aa2 2017-12-17 16:45:50 +0100 (master branch) (Win64, RelWithDebInfo, Static) (worldserver-daemon) ready..."

And even if there other logs after it doesn't record.

So my questions are:

- is there a way to get the log of the worldserver using a coding language or command ?
- is there a way to update the Server.log file with the current log message of the server using a coding language or command ?

Link to comment
Share on other sites

The DB logging had a few quirks iirc.
For example you need to restart for it to work, cant just edit loggers and reload them. (just in case you are trying reloading and things dont seem to work)

 

Here is an example of DB logging for commands that I got to work before:
Appender.GM=3,1,3
Logger.commands.gm=3,Console GM

The stuff is logged to auth.logs in DB

Rows older than x days are deleted automatically. See worldserver config to tweak that.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By kiler0193
      Just as the topic says.
      When I try to log in into client (i use retail since i want to play on the latest version and I wanna stay up to date with the lore) i get this error:
      We couldn't verify your account with that information (wow51900314)
      I did create account before that and bnetserver.exe and worldserver.exe are running.
      I think I did something wrong when setting up the server but i don't know what.
      Thanks in advance.
    • By xgamerninjax
      Hello all, first time posting here and it's really got me scratching my head.
      I've compiled everything on my own computer, and then transferred everything to a host computer so the server can stay live. The server was running fine for a month or so and then suddenly it just crashes when it hits "Loading C++ scripts", exiting saying "caught signal 22"
      I tried setting up the host computer from scratch and transferred everything over fresh and it's still happening for some reason. (Note, I can run the server perfectly on my personal pc where I compiled it.)
      Any help would be greatly appreciated, thanks!
      3d7e3a40e2b3+_worldserver.exe_[1-4_15-19-45].dmp 3d7e3a40e2b3+_worldserver.exe_[1-4_15-19-45].txt
    • By Levcsu
      Dear everyone!
      Is there any kind of ways to disable the whole /run script command for players (chat functions)?
      Especially I'm looking for a fix solution for this:
      /run SendChatMessage("WOW", "WHISPER", nil, "\240\146\140\165\240\146\145\163\240\146\145\169\240\147\139\141\240\147\139\136\240\147\137\161\240\146\140\165\240\146\145\163\240\146\145\169\240\147\139\141\240\147\139\136\240\147\137\161")
      This still crash the server, and tested on the latest TrinityCore-master and TrinityCore-3.3.5
      I hope someone able to help me out.
      I tried this as a solution, but no luck sadly:
      https://github.com/TrinityCore/TrinityCore/commit/bdb7e6e5e81e0d9376c9c803bae9da470b02d8cd
       
      PS: No crash log at all on debug mode lol
    • By Deer_Hunter
      Hello all,
      I just updated from the latest Git 
      Trinity Core REV. ac6baa547376 + 2020-02-21  3.3.5 Branch.
      I'm getting this error after crash.
      Problem signature:
        Problem Event Name:    APPCRASH
        Application Name:    worldserver.exe
        Application Version:    0.0.0.0
        Application Timestamp:    5e50a462
        Fault Module Name:    StackHash_f12f
        Fault Module Version:    6.3.9600.19629
        Fault Module Timestamp:    5e2fdc0d
        Exception Code:    c0000374
        Exception Offset:    PCH_9E_FROM_ntdll+0x0000000000090D0A
        OS Version:    6.3.9600.2.0.0.272.7
        Locale ID:    1033
        Additional Information 1:    f12f
        Additional Information 2:    f12f0934d3e965f73c68e60f20f2cd40
        Additional Information 3:    7595
        Additional Information 4:    7595e4d8d703db9dcd3d2f6ea540e357
      the exception code says its a Heap error,  I'm not sure how to troubleshoot this.
      Thanks
    • By Levcsu
      Dear everyone!
       
      Where can I download the full client (8.2.5.32750) which is compatible with the Master branch? Its enough to download the full game from battle.net, and I will able to join to the server fresh compilied master branch server?
×
×
  • Create New...