[sheepdog] [PATCH] sheep: use 1M log space for non-debug mode startup

MORITA Kazutaka morita.kazutaka at gmail.com
Thu Jun 20 02:37:23 CEST 2013


At Wed, 19 Jun 2013 09:49:46 +0800,
Liu Yuan wrote:
> @@ -567,6 +568,7 @@ int main(int argc, char **argv)
>  		case 'd':
>  			/* removed soon. use loglevel instead */
>  			log_level = SDOG_DEBUG;
> +			log_size = LOG_SPACE_DEBUG_SIZE;
>  			break;

We can set the log level by the '-l' option too.  How about setting
the log size in log_init()?

Thanks,

Kazutaka



More information about the sheepdog mailing list