GUAC-236: Reset log level back to INFO. Define default elsewhere.
This commit is contained in:
parent
7575506443
commit
59844d8e59
@ -25,6 +25,8 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
#include <guacamole/client.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The name of the codec to use by default, if no other codec is specified on
|
* 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.
|
* the command line. This name is dictated by ffmpeg / libavcodec.
|
||||||
@ -58,5 +60,10 @@
|
|||||||
*/
|
*/
|
||||||
#define GUACENC_DEFAULT_BITRATE 2000000
|
#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
|
#endif
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include "guacenc.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
#include <guacamole/client.h>
|
#include <guacamole/client.h>
|
||||||
@ -29,7 +30,7 @@
|
|||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdio.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,
|
void vguacenc_log(guac_client_log_level level, const char* format,
|
||||||
va_list args) {
|
va_list args) {
|
||||||
|
Loading…
Reference in New Issue
Block a user