diff options
author | Nay <dnpd.dd@gmail.com> | 2012-08-29 20:02:55 +0100 |
---|---|---|
committer | Nay <dnpd.dd@gmail.com> | 2012-08-29 20:02:55 +0100 |
commit | b89b8ff277b987ab65e00e2c936a36e518fb4b33 (patch) | |
tree | b200380182da67698db00f782de853d44257133c /src/server/authserver/Main.cpp | |
parent | 4070f5ac842be931561caa07ad2f5334f622a9b8 (diff) |
Core/Loading: Change info/error messages to printf when config is not loaded
Diffstat (limited to 'src/server/authserver/Main.cpp')
-rwxr-xr-x | src/server/authserver/Main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/authserver/Main.cpp b/src/server/authserver/Main.cpp index b938706a0be..ed0fa9ab06a 100755 --- a/src/server/authserver/Main.cpp +++ b/src/server/authserver/Main.cpp @@ -80,7 +80,7 @@ extern int main(int argc, char **argv) { if (++c >= argc) { - sLog->outError(LOG_FILTER_AUTHSERVER, "Runtime-Error: -c option requires an input argument"); + printf("Runtime-Error: -c option requires an input argument"); usage(argv[0]); return 1; } @@ -92,8 +92,8 @@ extern int main(int argc, char **argv) if (!ConfigMgr::Load(cfg_file)) { - sLog->outError(LOG_FILTER_AUTHSERVER, "Invalid or missing configuration file : %s", cfg_file); - sLog->outError(LOG_FILTER_AUTHSERVER, "Verify that the file exists and has \'[authserver]\' written in the top of the file!"); + printf("Invalid or missing configuration file : %s", cfg_file); + printf("Verify that the file exists and has \'[authserver]\' written in the top of the file!"); return 1; } |