Skip to content

Commit

Permalink
Merge pull request #246 from vladimir-v-diaz/develop
Browse files Browse the repository at this point in the history
Fix default console log level so that status() prints INFO-level messages
  • Loading branch information
vladimir-v-diaz committed Aug 19, 2014
2 parents 1a8080e + 68b3344 commit 7e67e8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tuf/repository_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -1913,7 +1913,7 @@ def write_metadata_file(metadata, filename, compressions, consistent_snapshot):
# and indentation is used. The 'tuf.util.TempFile' file-like object is
# automically closed after the final move.
file_object.write(file_content)
logger.info('Saving ' + repr(written_filename))
logger.debug('Saving ' + repr(written_filename))
file_object.move(written_filename)

for consistent_filename in consistent_filenames:
Expand Down
2 changes: 1 addition & 1 deletion tuf/repository_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
# Add a console handler so that users are aware of potentially unintended
# states, such as multiple roles that share keys.
tuf.log.add_console_handler()
tuf.log.set_console_log_level(logging.WARNING)
tuf.log.set_console_log_level(logging.INFO)

# The algorithm used by the repository to generate the digests of the
# target filepaths, which are included in metadata files and may be prepended
Expand Down

0 comments on commit 7e67e8a

Please sign in to comment.