[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - Getting rid of superfluous output
Page 1 of 1

Getting rid of superfluous output

PostPosted: Thu Dec 11, 2014 10:48 am
by naslundx

Re: Getting rid of superfluous output

PostPosted: Sun Jan 17, 2016 10:33 am
by pharaoh
$ COPRTHR_CLMESG_LEVEL=3 ./executable

levels defined in coprthr/include/printcl.h:

#define CL_EMERG "<0>" /* system is unusable */
#define CL_ALERT "<1>" /* action must be taken immediately */
#define CL_CRIT "<2>" /* critical conditions */
#define CL_ERR "<3>" /* error conditions */
#define CL_WARNING "<4>" /* warning conditions */
#define CL_NOTICE "<5"> /* normal but significant condition */
#define CL_INFO "<6>" /* informational */
#define CL_DEBUG "<7>" /* debug-level messages */

or build copthr with appropiate options:

$ ./configure --enable-silent

or

$ ./configure --with-default-clmesg-level=LEVEL