Skip to content

Commit 1edb207

Browse files
committed
change syslog mask level to DEBUG
1 parent 5f32b56 commit 1edb207

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

source/event_gpio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ BBIO_err gpio_set_direction(unsigned int gpio, unsigned int in_flag)
302302
)
303303
)
304304
{
305-
syslog(LOG_DEBUG, "gpio_set_direction: %u not applicable to the USR LED", gpio);
305+
syslog(LOG_WARNING, "gpio_set_direction: %u not applicable to built-in LEDs", gpio);
306306
return BBIO_OK; // direction is not applicable to the USR LED pins
307307
}
308308

source/py_gpio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ PyMODINIT_FUNC initGPIO(void)
582582

583583
define_constants(module);
584584

585-
initlog(LOG_NOTICE, NULL, BBIO_LOG_OPTION);
585+
initlog(LOG_DEBUG, NULL, BBIO_LOG_OPTION);
586586

587587
if (!PyEval_ThreadsInitialized())
588588
PyEval_InitThreads();

source/py_pwm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ PyMODINIT_FUNC initPWM(void)
252252

253253
define_constants(module);
254254

255-
initlog(LOG_NOTICE, NULL, BBIO_LOG_OPTION);
255+
initlog(LOG_DEBUG, NULL, BBIO_LOG_OPTION);
256256

257257
#if PY_MAJOR_VERSION > 2
258258
return module;

0 commit comments

Comments
 (0)