[Freeswitch-svn] [commit] r7705 - freeswitch/trunk/src/mod/loggers/mod_console
Freeswitch SVN
brian at freeswitch.org
Tue Feb 19 19:30:40 EST 2008
Author: brian
Date: Tue Feb 19 19:30:39 2008
New Revision: 7705
Modified:
freeswitch/trunk/src/mod/loggers/mod_console/mod_console.c
Log:
tweak
Modified: freeswitch/trunk/src/mod/loggers/mod_console/mod_console.c
==============================================================================
--- freeswitch/trunk/src/mod/loggers/mod_console/mod_console.c (original)
+++ freeswitch/trunk/src/mod/loggers/mod_console/mod_console.c Tue Feb 19 19:30:39 2008
@@ -171,7 +171,7 @@
} else {
aok = 0;
}
-
+
return aok;
#else
return 1;
@@ -189,7 +189,7 @@
if (failed_write) {
if ((handle = switch_core_data_channel(SWITCH_CHANNEL_ID_LOG))) {
- int aok = can_write(handle, 5);
+ int aok = can_write(handle, 100);
if (aok) {
const char *msg = "Failed to write to the console! Logging disabled! RE-enable with the 'console loglevel' command\n";
#ifdef WIN32
@@ -230,7 +230,7 @@
if (ok) {
#ifndef WIN32
- int aok = can_write(handle, 2000);
+ int aok = can_write(handle, 10000);
if (!aok) {
hard_log_level = 0;
More information about the Freeswitch-svn
mailing list