diff --git a/cockatrice/resources/config/qtlogging.ini b/cockatrice/resources/config/qtlogging.ini index 20aa206ce..35f1c72e8 100644 --- a/cockatrice/resources/config/qtlogging.ini +++ b/cockatrice/resources/config/qtlogging.ini @@ -10,13 +10,13 @@ # or set = false to disable logging #main = true -#qt_translator = true -#window_main.* = true -#release_channel = true -#spoiler_background_updater = true -#theme_manager = true -#sound_engine = true -#tapped_out_interface = true +qt_translator = false +window_main.* = false +release_channel = false +spoiler_background_updater = false +theme_manager = false +sound_engine = false +tapped_out_interface = false #tab_game = true #tab_message = true @@ -50,10 +50,10 @@ #card_picture_loader.card_back_cache_fail = true #card_picture_loader.picture_to_load = true #deck_loader = true -#card_database = true -#card_database.loading = true -#card_database.loading.success_or_failure = true -#cockatrice_xml.* = true +card_database = false +card_database.loading = false +card_database.loading.success_or_failure = true +cockatrice_xml.* = false #cockatrice_xml.xml_3_parser = true #cockatrice_xml.xml_4_parser = true #card_info = true diff --git a/doc/doxygen/extra-pages/developer_documentation/logging.md b/doc/doxygen/extra-pages/developer_documentation/logging.md index f0c5d7c5e..24bb6d047 100644 --- a/doc/doxygen/extra-pages/developer_documentation/logging.md +++ b/doc/doxygen/extra-pages/developer_documentation/logging.md @@ -53,7 +53,7 @@ see [Logging Configuration](#logging-configuration). # Logging Configuration For configuring our logging, we use the qtlogging.ini, located under cockatrice/resources/config/qtlogging.ini, which is -baked into the application in release version and set as the QT_LOGGING_CONF environment variable. +baked into the application in release version and set as the QT_LOGGING_CONF environment variable in main.cpp. ```c++ #ifdef Q_OS_APPLE @@ -124,6 +124,24 @@ card_picture_loader.debug = true card_picture_loader.worker = true ``` +``` +[Rules] +# Turn off some noisy and irrelevant startup logging for local development +*.debug = false + +qt_translator = false +window_main.* = false +release_channel = false +spoiler_background_updater = false +theme_manager = false +sound_engine = false +tapped_out_interface = false +card_database = false +card_database.loading = false +card_database.loading.success_or_failure = true +cockatrice_xml.* = false +``` + # Logging Setup This is achieved through our logging setup in @ref main.cpp, where we set the message pattern and install a custom