mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Remove useless debug output (log at info level)
This commit is contained in:
parent
e71d75ed9a
commit
f79082a46d
@ -44,9 +44,6 @@ void debugstreams_init(bool disable_stderr, const char *filename)
|
||||
fprintf(g_debugstreams[1], " Separator \n");
|
||||
fprintf(g_debugstreams[1], "-------------\n\n");
|
||||
}
|
||||
|
||||
DEBUGPRINT("Debug streams initialized, %s\n",
|
||||
disable_stderr?"not printing on stderr":"using stderr");
|
||||
}
|
||||
|
||||
void debugstreams_deinit()
|
||||
|
@ -861,9 +861,9 @@ int main(int argc, char *argv[])
|
||||
|
||||
DSTACK(__FUNCTION_NAME);
|
||||
|
||||
dstream<<"logfile = "<<logfile<<std::endl;
|
||||
dstream<<"path_share = "<<porting::path_share<<std::endl;
|
||||
dstream<<"path_user = "<<porting::path_user<<std::endl;
|
||||
infostream<<"logfile = "<<logfile<<std::endl;
|
||||
infostream<<"path_share = "<<porting::path_share<<std::endl;
|
||||
infostream<<"path_user = "<<porting::path_user<<std::endl;
|
||||
|
||||
// Debug handler
|
||||
BEGIN_DEBUG_EXCEPTION_HANDLER
|
||||
|
@ -27,6 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include "config.h"
|
||||
#include "debug.h"
|
||||
#include "filesys.h"
|
||||
#include "log.h"
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include "CoreFoundation/CoreFoundation.h"
|
||||
@ -149,7 +150,7 @@ void initializePaths()
|
||||
Use relative paths if RUN_IN_PLACE
|
||||
*/
|
||||
|
||||
dstream<<"Using relative paths (RUN_IN_PLACE)"<<std::endl;
|
||||
infostream<<"Using relative paths (RUN_IN_PLACE)"<<std::endl;
|
||||
|
||||
/*
|
||||
Windows
|
||||
@ -204,7 +205,7 @@ void initializePaths()
|
||||
Use platform-specific paths otherwise
|
||||
*/
|
||||
|
||||
dstream<<"Using system-wide paths (NOT RUN_IN_PLACE)"<<std::endl;
|
||||
infostream<<"Using system-wide paths (NOT RUN_IN_PLACE)"<<std::endl;
|
||||
|
||||
/*
|
||||
Windows
|
||||
|
Loading…
Reference in New Issue
Block a user