]> git.sesse.net Git - casparcg/blobdiff - shell/main.cpp
#508 Updated CHANGELOG
[casparcg] / shell / main.cpp
index 6ae71f153c7980b6186f286f8a4f2bcbbfc7be29..7db474e7e21f990dcbc663cd2b3788f5f9b069cd 100644 (file)
@@ -114,6 +114,7 @@ void do_run(
                std::promise<bool>& shutdown_server_now,
                tbb::atomic<bool>& should_wait_for_keypress)
 {
+       ensure_gpf_handler_installed_for_thread("Console thread");
        std::wstring wcmd;
        while(true)
        {
@@ -324,6 +325,9 @@ int main(int argc, char** argv)
                log::add_file_sink(env::log_folder() + L"calltrace",    caspar::log::category == caspar::log::log_category::calltrace);
                std::wcout << L"Logging [info] or higher severity to " << env::log_folder() << std::endl << std::endl;
 
+               // Once logging to file, log configuration warnings.
+               env::log_configuration_warnings();
+
                // Setup console window.
                setup_console_window();
 
@@ -350,7 +354,7 @@ int main(int argc, char** argv)
        }
        catch (const user_error& e)
        {
-               CASPAR_LOG(fatal) << get_message_and_context(e) << " Please check the configuration file (" << u8(config_file_name) << ") for errors. Turn on log level debug for stacktrace.";
+               CASPAR_LOG(fatal) << get_message_and_context(e) << " Please check the configuration file (" << u8(config_file_name) << ") for errors.";
                wait_for_keypress();
        }
        catch(...)