1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2025-08-03 12:50:02 +00:00

Add some debug logging and change level to trace.

This commit is contained in:
King_DuckZ 2017-05-16 19:14:22 +01:00
parent ed4a02f4bb
commit 8345c300a8
2 changed files with 3 additions and 1 deletions

View file

@ -143,6 +143,7 @@ int main (int parArgc, char* parArgv[], char* parEnvp[]) {
fill_defaults(*settings);
auto statuslog = setup_logging(*settings);
SPDLOG_DEBUG(statuslog, "tawashi started");
statuslog->info("Loaded config: \"{}\"", config_file_path());
auto cgi_env = SafeStackObject<tawashi::cgi::Env>(parEnvp);
@ -157,5 +158,6 @@ int main (int parArgc, char* parArgv[], char* parEnvp[]) {
std::unique_ptr<Response> response = resp_factory.make_response(cgi_env->path_info().substr(1));
response->send();
SPDLOG_DEBUG(statuslog, "tawashi done, quitting");
return 0;
}