forked from lei.chen/myxce
reshape controller startup
This commit is contained in:
parent
9f91f3df80
commit
a665ccd4fe
5 changed files with 32 additions and 33 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue