Switched back to old log names for 1.1 compability.
This commit is contained in:
@ -80,6 +80,9 @@ ssize_t log_ses_count[LOGFILE_LAST] = {0};
|
|||||||
*/
|
*/
|
||||||
#define MAX_LOGSTRLEN BUFSIZ
|
#define MAX_LOGSTRLEN BUFSIZ
|
||||||
|
|
||||||
|
/** Use the skygw_ prefix, only for 1.1 compatible builds*/
|
||||||
|
#define OLD_LOGNAMES
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Path to directory in which all files are stored to shared memory
|
* Path to directory in which all files are stored to shared memory
|
||||||
* by the OS.
|
* by the OS.
|
||||||
@ -308,7 +311,11 @@ const char* get_suffix_default(void)
|
|||||||
|
|
||||||
const char* get_debug_prefix_default(void)
|
const char* get_debug_prefix_default(void)
|
||||||
{
|
{
|
||||||
|
#ifdef OLD_LOGNAMES
|
||||||
|
return "skygw_debug";
|
||||||
|
#else
|
||||||
return "debug";
|
return "debug";
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* get_debug_suffix_default(void)
|
const char* get_debug_suffix_default(void)
|
||||||
@ -318,7 +325,11 @@ const char* get_debug_suffix_default(void)
|
|||||||
|
|
||||||
const char* get_trace_prefix_default(void)
|
const char* get_trace_prefix_default(void)
|
||||||
{
|
{
|
||||||
|
#ifdef OLD_LOGNAMES
|
||||||
|
return "skygw_trace";
|
||||||
|
#else
|
||||||
return "trace";
|
return "trace";
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* get_trace_suffix_default(void)
|
const char* get_trace_suffix_default(void)
|
||||||
@ -328,7 +339,11 @@ const char* get_trace_suffix_default(void)
|
|||||||
|
|
||||||
const char* get_msg_prefix_default(void)
|
const char* get_msg_prefix_default(void)
|
||||||
{
|
{
|
||||||
|
#ifdef OLD_LOGNAMES
|
||||||
|
return "skygw_msg";
|
||||||
|
#else
|
||||||
return "messages";
|
return "messages";
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* get_msg_suffix_default(void)
|
const char* get_msg_suffix_default(void)
|
||||||
@ -338,7 +353,11 @@ const char* get_msg_suffix_default(void)
|
|||||||
|
|
||||||
const char* get_err_prefix_default(void)
|
const char* get_err_prefix_default(void)
|
||||||
{
|
{
|
||||||
|
#ifdef OLD_LOGNAMES
|
||||||
|
return "skygw_err";
|
||||||
|
#else
|
||||||
return "error";
|
return "error";
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* get_err_suffix_default(void)
|
const char* get_err_suffix_default(void)
|
||||||
|
Reference in New Issue
Block a user