diff --git a/code/__HELPERS/_logging.dm b/code/__HELPERS/_logging.dm index a787afef7a0..016dd8cf038 100644 --- a/code/__HELPERS/_logging.dm +++ b/code/__HELPERS/_logging.dm @@ -105,7 +105,8 @@ GLOBAL_LIST_INIT(testing_global_profiler, list("_PROFILE_NAME" = "Global")) WRITE_LOG(GLOB.world_paper_log, "PAPER: [text]") /proc/log_asset(text) - WRITE_LOG(GLOB.world_asset_log, "ASSET: [text]") + if(CONFIG_GET(flag/log_asset)) + WRITE_LOG(GLOB.world_asset_log, "ASSET: [text]") /proc/log_access(text) if (CONFIG_GET(flag/log_access)) diff --git a/code/controllers/configuration/entries/general.dm b/code/controllers/configuration/entries/general.dm index 42874afb661..e38703756dc 100644 --- a/code/controllers/configuration/entries/general.dm +++ b/code/controllers/configuration/entries/general.dm @@ -72,6 +72,8 @@ /datum/config_entry/flag/log_cloning // log cloning actions. +/datum/config_entry/flag/log_asset //asset logging + /datum/config_entry/flag/log_vote // log voting /datum/config_entry/flag/log_whisper // log client whisper diff --git a/config/config.txt b/config/config.txt index 5faffabc4e7..a21839aaab2 100644 --- a/config/config.txt +++ b/config/config.txt @@ -103,6 +103,9 @@ LOG_ADMIN ## log admin chat LOG_ADMINCHAT +## log asset debug logs +#LOG_ASSET + ## log client access (logon/logoff) LOG_ACCESS