Only log mux updates if detailed logging is enabled
This commit is contained in:
parent
c5768174c9
commit
8696f3f61c
1 changed files with 3 additions and 1 deletions
|
@ -169,7 +169,9 @@ dvb_mux_create(th_dvb_adapter_t *tda, const struct dvb_mux_conf *dmc,
|
|||
dvb_mux_save(tdmi);
|
||||
|
||||
dvb_mux_nicename(buf, sizeof(buf), tdmi);
|
||||
tvhlog(LOG_NOTICE, "dvb", "Mux \"%s\" updated by %s", buf, source);
|
||||
if(tda->tda_logging)
|
||||
tvhlog(LOG_INFO, "dvb",
|
||||
"Configuration for mux \"%s\" updated by %s", buf, source);
|
||||
dvb_mux_notify(tdmi);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue