Skip to content

Commit

Permalink
Merge pull request #15 from liberation/change-log-level-7
Browse files Browse the repository at this point in the history
 #7 - change log level in configuration to error and warning
  • Loading branch information
grangier committed Nov 2, 2015
2 parents 3821058 + 06d9520 commit 52e8f79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions carrier_pigeon/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def output_files_from_item(self, item, row=None):
row,
)
if not output:
logger.info("Error for item %i with Output Maker %s"
logger.error("Error for item %i with Output Maker %s"
% (item.pk, output_maker))
continue

Expand All @@ -178,7 +178,7 @@ def output_files_from_item(self, item, row=None):
default=False
)
if not validation:
logger.info("Validation error for item %i with"
logger.error("Validation error for item %i with"
" validator %s"
% (
item.pk,
Expand All @@ -188,7 +188,7 @@ def output_files_from_item(self, item, row=None):

if not validation: # --- If one validator did not pass we
# do no want to send the file
logger.info("the output was not validated for item : %i"
logger.error("the output was not validated for item : %i"
% item.pk
)
continue # We don't want the export process to be stopped
Expand All @@ -207,7 +207,7 @@ def output_files_from_item(self, item, row=None):
)

if local_final_path:
logger.info("File added to output: %s" % local_final_path)
logger.warning("File added to output: %s" % local_final_path)
output_files.append(local_final_path)

# --- Manage related items, if any
Expand Down

0 comments on commit 52e8f79

Please sign in to comment.