reshape controller startup

This commit is contained in:
Rongsong Shen 2025-11-06 17:17:26 +08:00
parent 9f91f3df80
commit a665ccd4fe
5 changed files with 32 additions and 33 deletions

View file

@ -2311,7 +2311,7 @@ int main(int argc, char* argv[])
{
struct arguments arguments;
char* buf;
char* logdir = "/tmp";
char* logfile = "/tmp/xce_test.log";
char* loglevel = "info";
int logsize = 64 * 1024 * 1024;
int logcount = 10;
@ -2323,7 +2323,7 @@ int main(int argc, char* argv[])
loglevel = verbose_to_loglevel(arguments.verbose);
}
mylog_init(logdir, "xce_test", loglevel, logsize, logcount);
mylog_init(logfile, loglevel, logsize, logcount);
signal(SIGINT, sigbreak);