Messages moved from stderr to MESSAGE log
Messages moved from stderr to MESSAGE log
This commit is contained in:
@ -49,6 +49,8 @@ MODULE_INFO info = {
|
|||||||
"An experimental HTTPD implementation for use in admnistration"
|
"An experimental HTTPD implementation for use in admnistration"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extern int lm_enabled_logfiles_bitmask;
|
||||||
|
|
||||||
#define ISspace(x) isspace((int)(x))
|
#define ISspace(x) isspace((int)(x))
|
||||||
#define HTTP_SERVER_STRING "MaxScale(c) v.1.0.0"
|
#define HTTP_SERVER_STRING "MaxScale(c) v.1.0.0"
|
||||||
static char *version_str = "V1.0.1";
|
static char *version_str = "V1.0.1";
|
||||||
@ -413,9 +415,7 @@ int syseno = 0;
|
|||||||
rc = listen(listener->fd, SOMAXCONN);
|
rc = listen(listener->fd, SOMAXCONN);
|
||||||
|
|
||||||
if (rc == 0) {
|
if (rc == 0) {
|
||||||
fprintf(stderr,
|
LOGIF(LM, (skygw_log_write_flush(LOGFILE_MESSAGE,"Listening httpd connections at %s", config)));
|
||||||
"Listening http connections at %s\n",
|
|
||||||
config);
|
|
||||||
} else {
|
} else {
|
||||||
int eno = errno;
|
int eno = errno;
|
||||||
errno = 0;
|
errno = 0;
|
||||||
|
|||||||
@ -390,9 +390,7 @@ int syseno = 0;
|
|||||||
rc = listen(listener->fd, SOMAXCONN);
|
rc = listen(listener->fd, SOMAXCONN);
|
||||||
|
|
||||||
if (rc == 0) {
|
if (rc == 0) {
|
||||||
fprintf(stderr,
|
LOGIF(LM, (skygw_log_write_flush(LOGFILE_MESSAGE,"Listening telnet connections at %s", config)));
|
||||||
"Listening telnet connections at %s\n",
|
|
||||||
config);
|
|
||||||
} else {
|
} else {
|
||||||
int eno = errno;
|
int eno = errno;
|
||||||
errno = 0;
|
errno = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user