You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-4483: Fix and consolidate log files and cpimport logging.
This commit is contained in:
@ -23,12 +23,13 @@
|
||||
#include <signal.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include "mcsconfig.h"
|
||||
|
||||
void fatalHandler(int sig)
|
||||
{
|
||||
char filename[128];
|
||||
void* addrs[128];
|
||||
snprintf(filename, 128, "/var/log/mariadb/columnstore/trace/%s.%d.log", program_invocation_short_name, getpid());
|
||||
snprintf(filename, 128, "%s/trace/%s.%d.log", MCSLOGDIR, program_invocation_short_name, getpid());
|
||||
FILE* logfile = fopen(filename, "w");
|
||||
char s[30];
|
||||
struct tm tim;
|
||||
|
Reference in New Issue
Block a user