Merge pull request #2523 from Citadel-Station-13/upstream-merge-30207

[MIRROR] Adds separate log for sql errors with no config check
This commit is contained in:
LetterJay
2017-08-28 09:00:19 -05:00
committed by GitHub
3 changed files with 5 additions and 3 deletions
+1 -2
View File
@@ -97,8 +97,7 @@
WRITE_FILE(GLOB.world_game_log, "\[[time_stamp()]]CHAT: [text]")
/proc/log_sql(text)
if(config.sql_enabled)
WRITE_FILE(GLOB.world_game_log, "\[[time_stamp()]]SQL: [text]")
WRITE_FILE(GLOB.sql_error_log, "\[[time_stamp()]]SQL: [text]")
//This replaces world.log so it displays both in DD and the file
/proc/log_world(text)