summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/gentest.c4
-rw-r--r--source4/torture/locktest.c2
-rw-r--r--source4/torture/locktest2.c2
-rw-r--r--source4/torture/masktest.c2
-rw-r--r--source4/torture/msgtest.c2
-rw-r--r--source4/torture/rpctorture.c2
-rw-r--r--source4/torture/torture.c2
7 files changed, 8 insertions, 8 deletions
diff --git a/source4/torture/gentest.c b/source4/torture/gentest.c
index 4711ea91ae..e914f98588 100644
--- a/source4/torture/gentest.c
+++ b/source4/torture/gentest.c
@@ -2113,7 +2113,7 @@ static void usage(void)
exit(1);
}
- setup_logging(argv[0],True);
+ setup_logging(argv[0], DEBUG_STDOUT);
for (i=0;i<NSERVERS;i++) {
const char *share = argv[1+i];
@@ -2147,7 +2147,7 @@ static void usage(void)
break;
case 'd':
DEBUGLEVEL = atoi(optarg);
- setup_logging(NULL,True);
+ setup_logging(NULL, DEBUG_STDOUT);
break;
case 's':
options.seed = atoi(optarg);
diff --git a/source4/torture/locktest.c b/source4/torture/locktest.c
index 26bf6d62dd..cd66bab58e 100644
--- a/source4/torture/locktest.c
+++ b/source4/torture/locktest.c
@@ -465,7 +465,7 @@ static void usage(void)
exit(1);
}
- setup_logging(argv[0],True);
+ setup_logging(argv[0], DEBUG_STDOUT);
for (server=0;server<NSERVERS;server++) {
share[server] = argv[1+server];
diff --git a/source4/torture/locktest2.c b/source4/torture/locktest2.c
index 17435afb4c..ac48da58b9 100644
--- a/source4/torture/locktest2.c
+++ b/source4/torture/locktest2.c
@@ -493,7 +493,7 @@ static void usage(void)
all_string_sub(share1,"/","\\",0);
all_string_sub(share2,"/","\\",0);
- setup_logging(argv[0],True);
+ setup_logging(argv[0], DEBUG_STDOUT);
argc -= 4;
argv += 4;
diff --git a/source4/torture/masktest.c b/source4/torture/masktest.c
index 15bc080893..f8d19697cb 100644
--- a/source4/torture/masktest.c
+++ b/source4/torture/masktest.c
@@ -380,7 +380,7 @@ static void usage(void)
all_string_sub(share,"/","\\",0);
- setup_logging(argv[0],True);
+ setup_logging(argv[0], DEBUG_STDOUT);
argc -= 1;
argv += 1;
diff --git a/source4/torture/msgtest.c b/source4/torture/msgtest.c
index 952aa46bfe..fa21aa307c 100644
--- a/source4/torture/msgtest.c
+++ b/source4/torture/msgtest.c
@@ -39,7 +39,7 @@ void pong_message(int msg_type, pid_t src, void *buf, size_t len)
int i, n;
char buf[12];
- setup_logging(argv[0],True);
+ setup_logging(argv[0], DEBUG_STDOUT);
lp_load(dyn_CONFIGFILE,False,False,False);
diff --git a/source4/torture/rpctorture.c b/source4/torture/rpctorture.c
index 04656e71d1..284943c612 100644
--- a/source4/torture/rpctorture.c
+++ b/source4/torture/rpctorture.c
@@ -282,7 +282,7 @@ enum client_action
smb_cli->nt_pipe_fnum = 0xffff;
- setup_logging(pname, True);
+ setup_logging(pname, DEBUG_STDOUT);
password[0] = 0;
diff --git a/source4/torture/torture.c b/source4/torture/torture.c
index bf46c888b2..1ec73e0dff 100644
--- a/source4/torture/torture.c
+++ b/source4/torture/torture.c
@@ -4113,7 +4113,7 @@ static void usage(void)
break;
case 'd':
lp_set_cmdline("debug level", optarg);
- setup_logging(NULL,True);
+ setup_logging(NULL, DEBUG_STDOUT);
break;
case 'O':
lp_set_cmdline("socket options", optarg);