Skip to content

Commit

Permalink
Stop sd plugins from spamming.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed May 23, 2014
1 parent b09f481 commit ab16b7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/plugins/stored/autoxflate-sd.c
Expand Up @@ -95,7 +95,7 @@ static psdFuncs pluginFuncs = {
handlePluginEvent
};

static int const dbglvl = 100;
static int const dbglvl = 200;

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -207,7 +207,6 @@ static bRC setPluginValue(bpContext *ctx, psdVariable var, void *value)
*/
static bRC handlePluginEvent(bpContext *ctx, bsdEvent *event, void *value)
{
Dmsg1(dbglvl, "autoxflate-sd: handlePluginEvent event %d\n", event->eventType);
switch (event->eventType) {
case bsdEventSetupRecordTranslation:
return setup_record_translation(value);
Expand Down
3 changes: 1 addition & 2 deletions src/plugins/stored/scsicrypto-sd.c
Expand Up @@ -114,7 +114,7 @@ static psdFuncs pluginFuncs = {
handlePluginEvent
};

static int const dbglvl = 100;
static int const dbglvl = 200;

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -245,7 +245,6 @@ static bRC setPluginValue(bpContext *ctx, psdVariable var, void *value)
*/
static bRC handlePluginEvent(bpContext *ctx, bsdEvent *event, void *value)
{
Dmsg1(dbglvl, "scsicrypto-sd: handlePluginEvent event %d\n", event->eventType);
switch (event->eventType) {
case bsdEventLabelRead:
case bsdEventLabelWrite:
Expand Down

0 comments on commit ab16b7f

Please sign in to comment.