GUAC-236: Reset log level back to INFO. Define default elsewhere.

This commit is contained in:
Michael Jumper 2016-03-11 19:22:20 -08:00
parent 7575506443
commit 59844d8e59
2 changed files with 9 additions and 1 deletions

View File

@ -25,6 +25,8 @@
#include "config.h"
#include <guacamole/client.h>
/**
* The name of the codec to use by default, if no other codec is specified on
* the command line. This name is dictated by ffmpeg / libavcodec.
@ -58,5 +60,10 @@
*/
#define GUACENC_DEFAULT_BITRATE 2000000
/**
* The default log level below which no messages should be logged.
*/
#define GUACENC_DEFAULT_LOG_LEVEL GUAC_LOG_INFO
#endif

View File

@ -21,6 +21,7 @@
*/
#include "config.h"
#include "guacenc.h"
#include "log.h"
#include <guacamole/client.h>
@ -29,7 +30,7 @@
#include <stdarg.h>
#include <stdio.h>
int guacenc_log_level = GUAC_LOG_DEBUG;
int guacenc_log_level = GUACENC_DEFAULT_LOG_LEVEL;
void vguacenc_log(guac_client_log_level level, const char* format,
va_list args) {